Live threats

All CVEs / Cryptography.io

CVE-2020-36242Cryptography.io Cryptography

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
EPSS
6.8%
probability of exploitation in 30 days · percentile 95
Auth required
No
Published
Feb 7, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-190, CWE-787
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Cryptography.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI cryptography ≥ 3.1 < 3.3.2 3.3.2 pip install "cryptography>=3.3.2"
PyPI cryptography ≥ 3.1 < 3.3.2 3.3.2 pip install "cryptography>=3.3.2"

Per OSV / GitHub Advisories (GHSA-rhm9-p9w5-fwm7, PYSEC-2021-63). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
cryptography.iocryptography< 3.3.2
fedoraprojectfedora33
oraclecommunications_cloud_native_core_network_function_cloud_native_environment1.10.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.