ghsa-rhm9-p9w5-fwm7
Vulnerability from github
Published
2021-02-10 01:32
Modified
2024-09-13 18:33
Severity ?
9.1 (Critical) - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
8.8 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
8.8 (High) - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N
Summary
PyCA Cryptography symmetrically encrypting large values can lead to integer overflow
Details
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. When certain sequences of update()
calls with large values (multiple GBs) for symetric encryption or decryption occur, it's possible for an integer overflow to happen, leading to mishandling of buffers. This is patched in version 3.3.2 and newer.
{ "affected": [ { "ecosystem_specific": { "affected_functions": [ "cryptography.hazmat.backends.openssl.ciphers._CipherContext" ] }, "package": { "ecosystem": "PyPI", "name": "cryptography" }, "ranges": [ { "events": [ { "introduced": "3.1" }, { "fixed": "3.3.2" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2020-36242" ], "database_specific": { "cwe_ids": [ "CWE-190", "CWE-787" ], "github_reviewed": true, "github_reviewed_at": "2021-02-10T01:31:02Z", "nvd_published_at": "2021-02-07T20:15:00Z", "severity": "HIGH" }, "details": "cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. When certain sequences of `update()` calls with large values (multiple GBs) for symetric encryption or decryption occur, it\u0027s possible for an integer overflow to happen, leading to mishandling of buffers. This is patched in version 3.3.2 and newer.\n", "id": "GHSA-rhm9-p9w5-fwm7", "modified": "2024-09-13T18:33:13Z", "published": "2021-02-10T01:32:27Z", "references": [ { "type": "WEB", "url": "https://github.com/pyca/cryptography/security/advisories/GHSA-rhm9-p9w5-fwm7" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2020-36242" }, { "type": "WEB", "url": "https://github.com/pyca/cryptography/issues/5615" }, { "type": "WEB", "url": "https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7cae" }, { "type": "ADVISORY", "url": "https://github.com/advisories/GHSA-rhm9-p9w5-fwm7" }, { "type": "PACKAGE", "url": "https://github.com/pyca/cryptography" }, { "type": "WEB", "url": "https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst" }, { "type": "WEB", "url": "https://github.com/pyca/cryptography/compare/3.3.1...3.3.2" }, { "type": "WEB", "url": "https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-63.yaml" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E" }, { "type": "WEB", "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E" }, { "type": "WEB", "url": "https://www.oracle.com/security-alerts/cpuapr2022.html" }, { "type": "WEB", "url": "https://www.oracle.com/security-alerts/cpujul2022.html" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H", "type": "CVSS_V3" }, { "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:H/SC:N/SI:N/SA:N", "type": "CVSS_V4" } ], "summary": "PyCA Cryptography symmetrically encrypting large values can lead to integer overflow" }
Loading...
Loading...
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.