Skip to main content
No exploitation reportedFix available

CVE-2020-36242

No exploitation reported by the sources we read.

  • Published2021-02-07
  • Fixed in3.3.2
  • WeaknessCWE-190 · CWE-787

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

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.

Timeline

dates in UTC
  1. 2021-02-0720:15CVE publishedNVD

Versions per branch

NVD · OSV
Cryptography.io cryptography
BranchAffectedFixed in
3.3< 3.3.23.3.2
3.x≥ 3.1, < 3.3.23.3.2
Fedoraproject fedora
BranchAffectedFixed in
33.x= 33no fix published
Oracle communications cloud native core network function cloud native environment
BranchAffectedFixed in
1.10= 1.10.0no fix published

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • py3-cryptographyCleanStartall versions · fixed in 3.2.2-r0
  • py3-cryptographyAlpine:v3.24all versions · fixed in 3.2.2-r0
  • py3-cryptographyAlpine:v3.23all versions · fixed in 3.2.2-r0
  • py3-cryptographyAlpine:v3.13all versions · fixed in 3.3.2-r0
  • python-aliyun-python-sdkSUSE:Linux Enterprise Module for Public Cloud 15 SP4all versions · fixed in 1.0.0-150100.3.7.4and 4 other packages
  • python-aliyun-python-sdkSUSE:Linux Enterprise Module for Public Cloud 15 SP3all versions · fixed in 1.0.0-150100.3.7.4and 4 other packages
  • python-aliyun-python-sdkSUSE:Linux Enterprise Module for Public Cloud 15 SP2all versions · fixed in 1.0.0-150100.3.7.4and 4 other packages
  • python-aliyun-python-sdkSUSE:Linux Enterprise Module for Public Cloud 15 SP1all versions · fixed in 1.0.0-150100.3.7.4and 4 other packages

695 more package ranges on OSV.dev

Vendor advisories

  • CVE-2020-36242 Red Hat Product Security141 products fixed · 13 known affected

    python-cryptography: Large inputs for symmetric encryption can trigger integer overflow leading to buffer overflow

    cryptography.src as a component of Red Hat Ansible Automation Platform 1.2 · python-cryptography.src as a component of Red Hat Ansible Automation Platform 1.2 · python-cryptography.src as a component of Red Hat Ansible Engine 2 · +10 more

  • RHSA-2021:3254 Red Hat Product Security126 products fixed

    Red Hat Security Advisory: rh-python38 security, bug fix, and enhancement update

  • RHSA-2021:2239 Red Hat Product Security2 products fixed

    Red Hat Security Advisory: Red Hat Virtualization Host security update [ovirt-4.4.6]

  • RHSA-2021:1608 Red Hat Product Security13 products fixed

    Red Hat Security Advisory: python-cryptography security, bug fix, and enhancement update

Full record on NVD

Fix

  1. Update Cryptography.io cryptography to 3.3.2
  2. Vendor fix Red Hat Product Security RHSA-2021:3254 · 126 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  3. Vendor fix Red Hat Product Security RHSA-2021:2239 · 2 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/2974891
  4. Workaround from the vendor Red Hat Product Security RHSA-2021:3254 · 126 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  5. No fix available, says the vendor Red Hat Product Security CVE-2020-36242 · 1 productAffected
  6. No fix planned, says the vendor Red Hat Product Security CVE-2020-36242 · 3 productsOut of support scope
  7. No fix planned, says the vendor Red Hat Product Security CVE-2020-36242 · 9 productsWill not fix

Advisories and patches

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

  • NVDCVSS 3.19.1read 2026-10-23
  • NVDCVSS 2.06.4read 2026-10-23
  • NVDweakness (CWE)CWE-190, CWE-787read 2026-10-23
  • FIRST EPSSEPSS score6.8 %2026-12-04
  • OSVaffected packages—
  • GitHub AdvisoriesadvisoryHigh2021-02-10

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
Published
2021-02-07
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-rhm9-p9w5-fwm7

Frequently asked questions

What is CVE-2020-36242?

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.

Is CVE-2020-36242 actively exploited?

Active exploitation of CVE-2020-36242 has not been confirmed. Its EPSS score was 6.8% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2020-36242?

CVE-2020-36242 has a CVSS v3 base score of 9.1 (Critical severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H.

Running cryptography? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record