CVE-2020-36242
medium
CVSS v3
—
CVSS v2
—
VIR risk
5.5
Description
In the cryptography package before 3.3.2 for Python, certain sequences of update calls to symmetrically encrypt multi-GB values could result in an integer overflow and buffer overflow, as demonstrated by the Fernet class.
Predictions
Exploit likelihood
30%
Patch ETA
—
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
Vendor advisory: debian — https://security-tracker.debian.org/tracker/CVE-2020-36242
Vendor advisory: rocky — https://errata.rockylinux.org/RLSA-2021:1608
Vendor advisory: suse — https://www.suse.com/security/cve/CVE-2020-36242.html
Vendor advisory: arch — https://security.archlinux.org/ASA-202102-36
OS impact
| OS | Version | Status | Fixed in |
|---|---|---|---|
| arch | fixed | 3.4-1 | |
| sles | affected | | |
| rocky | 8 | fixed | |
| debian | bookworm | fixed | 3.3.2-1 |
| debian | bullseye | fixed | 3.3.2-1 |
| debian | forky | fixed | 3.3.2-1 |
| debian | sid | fixed | 3.3.2-1 |
| debian | trixie | fixed | 3.3.2-1 |
Package impact
| Ecosystem | Package | Vulnerable | Fixed |
|---|---|---|---|
| PyPI | cryptography | >=3.1,<3.3.2 | 3.3.2 |
References
- https://security.archlinux.org/ASA-202102-36
- https://github.com/pyca/cryptography/security/advisories/GHSA-rhm9-p9w5-fwm7
- https://nvd.nist.gov/vuln/detail/CVE-2020-36242
- https://github.com/pyca/cryptography/issues/5615
- https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7cae
- https://github.com/advisories/GHSA-rhm9-p9w5-fwm7
- https://github.com/pyca/cryptography
- https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst
- https://github.com/pyca/cryptography/compare/3.3.1...3.3.2
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-63.yaml
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E/
- https://www.suse.com/security/cve/CVE-2020-36242.html
- https://errata.rockylinux.org/RLSA-2021:1608
- https://security-tracker.debian.org/tracker/CVE-2020-36242
Verify integrity in audit chain (admin only). AS-IS.