CVE-2020-36242
PyCA Cryptography symmetrically encrypting large values can lead to integer overflow
9.1
CRITICAL
CVSS 3.1
EPSS 1.6%
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.
How to fix CVE-2020-36242
To remediate CVE-2020-36242, upgrade the affected package to a fixed version below.
- —upgrade to 3.3.2-r0 or later
- —upgrade to 3.3.2-1 or later
- —upgrade to 3.3.2 or later
- —upgrade to 3.3.2 or later
Is CVE-2020-36242 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (4)
- from 0, < 3.3.2-r0
- from 0, < 3.3.2-1
- >= 3.1, < 3.3.2
- >= 3.1, < 3.3.2
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | 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 |
| osv | CVSS 3.1 | CRITICAL9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H |