Vulnerability · Published Feb 7, 2021 · Assigned by mitre
CVE-2020-36242
Critical 9.1
In plain English
A critical-severity security flaw in the py3-cryptography package (Alpine). There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 6.8% (higher than 94% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)9.1Critical
Exploit odds (30 days)6.8%top 6.0% of all CVEs
Exploited in the wildNo reportsnot in CISA KEV
Attack toolingNoneno public tooling known
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Alpine:v3.20 | py3-cryptography | 3.2.2-r0 | ALPINE-CVE-2020-36242 |
| Alpine:v3.21 | py3-cryptography | 3.2.2-r0 | ALPINE-CVE-2020-36242 |
| Alpine:v3.22 | py3-cryptography | 3.2.2-r0 | ALPINE-CVE-2020-36242 |
| Alpine:v3.23 | py3-cryptography | 3.2.2-r0 | ALPINE-CVE-2020-36242 |
| Alpine:v3.24 | py3-cryptography | 3.2.2-r0 | ALPINE-CVE-2020-36242 |
| Debian:12 | python-cryptography | 3.3.2-1 | DEBIAN-CVE-2020-36242 |
| Debian:13 | python-cryptography | 3.3.2-1 | DEBIAN-CVE-2020-36242 |
| Debian:14 | python-cryptography | 3.3.2-1 | DEBIAN-CVE-2020-36242 |
| PyPI | cryptography | 3.3.2 | PYSEC-2021-63 |
| PyPI | cryptography | 3.3.2 | GHSA-rhm9-p9w5-fwm7 |
| Rocky Linux:8 | python-cryptography | 0:3.2.1-4.el8 | RLSA-2021:1608 |
Affected products (as reported)
References
- https://github.com/pyca/cryptography/issues/5615 x_refsource_MISC
- FEDORA-2021-8e36e7ed1a vendor-advisory, x_refsource_FEDORA
- https://www.oracle.com/security-alerts/cpuapr2022.html x_refsource_MISC
- https://github.com/pyca/cryptography/compare/3.3.1...3.3.2 x_refsource_CONFIRM
- https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst x_refsource_CONFIRM
- https://www.oracle.com/security-alerts/cpujul2022.html x_refsource_MISC