CVE-2020-36242: cryptography.io cryptography Integer Overflow or Wraparound
Vulnerability summary
CVE-2020-36242 is a critical (CVSS 9.1) Integer Overflow or Wraparound vulnerability in cryptography.io cryptography. EPSS estimates a 6.80% chance of exploitation in the next 30 days, higher than 94% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (GitHub, Date unknown)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 9 · Related 6Timeline
- 07-02-2021PublishedVulnerability first disclosed.
- 04-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
7 scores · 5 sources · 3 versions- OSV · AlpineEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · PypiEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · UbuntuEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
- OSV · DebianEcosystem advisory · calculated9.1CriticalCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS trend
Probability
6.80%
Chance of exploitation in the next 30 days
Percentile
94%
Versus all other CVEs
30-day change
Increase +0.08 pp
From 6.72% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundCryptography
Maturity: poc
Weaknesses
CWE · root cause- CWE-190Integer Overflow or WraparoundThe product performs a calculation that can produce an integer overflow or wraparound when the logic assumes that the resulting value will always be larger than the original value. This occurs when an integer value is incremented to a value that is too large to store in the associated representation. When this occurs, the value may become a very small or negative number.
- CWE-787Out-of-bounds WriteThe product writes data past the end, or before the beginning, of the intended buffer.
Affected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Opensuse192 products
- python-aliyun-python-sdk-aas&distro=openSUSE Leap 15.4< 2.1.1-150100.3.5.5
- python-aliyun-python-sdk-acm&distro=openSUSE Leap 15.4< 1.0.1-150100.3.7.5
- python-aliyun-python-sdk-acms-open&distro=openSUSE Leap 15.4< 1.0.0-150100.3.7.5
- python-aliyun-python-sdk-actiontrail&distro=openSUSE Leap 15.4< 2.0.3-150100.3.7.5
- python-aliyun-python-sdk-adb&distro=openSUSE Leap 15.4< 1.0.5-150100.3.7.5
Alpine1 product
- py3-cryptography< 3.3.2-r0 | < 3.2.2-r0
Cryptography.io1 product
- cryptography< 3.3.2
Debian1 product
- python-cryptography< 3.3.2-1
Fedoraproject1 product
- fedoraEOL33
Mageia1 product
- python-cryptography< 3.3.1-1.1.mga8
Oracle1 product
PyPI1 product
- cryptography≥ 3.1, < 3.3.2
Ubuntu1 product
- python-cryptography< 1.2.3-1ubuntu0.3 | < 2.1.4-1ubuntu1.4 | < 2.8-3ubuntu0.1
9 vendors · 200 products · Showing 200 of 1139
References
34 links- github.com/pyca/cryptography/compare/3.3.1...3.3.2X Refsource CONFIRMWEBREPORTPatchThird Party Advisory
- github.com/pyca/cryptography/blob/master/CHANGELOG.rstX Refsource CONFIRMWEBREPORTRelease NotesThird Party Advisory
Show all 34 references
- github.com/pyca/cryptographyPACKAGE
- lists.opensuse.org/archives/…Advisory