In the cryptography package before 3.3.2 for Python, certain sequences of update calls to…
Priority MEDIUM 49CWE-190Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Partial Red Hat: 5 fixed, 7 without a fix
Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.
Summary
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.
Why it matters now
EPSS 0.06799 94th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial cryptography (PyPI): 3.3.2Red Hat: 3 advisoriesRed Hat: 5 fixed, 7 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | cryptography (PyPI) | 3.1 to before 3.3.2 | 3.3.2 | Patch available | GHSA-rhm9-p9w5-fwm7 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- cryptography (PyPI) Vendor— Affected 3.1 to before 3.3.2 Fixed in 3.3.2 Patch available GHSA-rhm9-p9w5-fwm7
CPE configurations NVD · 3
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* | before 3.3.2 | Vulnerable | Cryptography.io |
| cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* | 33 | Vulnerable | Fedoraproject |
| cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* | 1.10.0 | Vulnerable | Oracle |
- cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* Versions before 3.3.2 Vulnerable ·Cryptography.io
- cpe:2.3:o:fedoraproject:fedora:33:*:*:*:*:*:*:* Versions 33 Vulnerable ·Fedoraproject
- cpe:2.3:a:oracle:communications_cloud_native_core_network_function_cloud_native_environment:1.10.0:*:*:*:*:*:*:* Versions 1.10.0 Vulnerable ·Oracle
Remediation
- Fix · GHSA-rhm9-p9w5-fwm7 cryptography (PyPI) Fixed in 3.3.2 Advisory →
Red Hat 3 advisories
- RHSA-2021:3254 Released 2021-08-24 · Red Hat rating Moderaterh-python38 security, bug fix, and enhancement update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14
- RHSA-2021:2239 Released 2021-06-03 · Red Hat rating ModerateRed Hat Virtualization Host security update [ovirt-4.4.6]
- Red Hat Virtualization 4 Hypervisor for RHEL 8 redhat-virtualization-host-4.4.6-20210527.3.el8_4, redhat-virtualization-host-image-update-4.4.6-20210527.3.el8_4
- RHSA-2021:1608 Released 2021-05-18 · Red Hat rating Moderatepython-cryptography security, bug fix, and enhancement update
- Red Hat Enterprise Linux BaseOS (v. 8) python-cryptography-3.2.1-4.el8, python3-cryptography-3.2.1-4.el8
Vendor assessments
Red Hat
Red Hat rating: Moderate. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Ansible Automation Platform 1.2 | Affected | No fix planned: Will not fix |
| Red Hat Ansible Engine 2 | Affected | No fix planned: Out of support scope |
| Red Hat Ansible Tower 3 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux 7 | Affected | No fix planned: Out of support scope |
| Red Hat Enterprise Linux 8 | Affected | No fix planned: Will not fix |
| Red Hat OpenStack Platform 13 (Queens) | Affected | No fix planned: Will not fix |
| Red Hat Quay 3 | Affected | No fix yet |
| Red Hat Enterprise Linux BaseOS (v. 8) | Fixed | RHSA-2021:1608 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) | Fixed | RHSA-2021:3254 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2021:3254 |
| Red Hat Virtualization 4 Hypervisor for RHEL 8 | Fixed | RHSA-2021:2239 |
Not affected: 5 products
- CloudForms Management Engine 5
- RHEL 8-based RHEV-H for RHEV 4 (build requirements)
- Red Hat Enterprise Linux 9
- Red Hat Virtualization 4 Hypervisor for RHEL 8
- Red Hat Virtualization 4 Management Agent for RHEL 7 Hosts
Timeline
- 2026-10-02 Threatist record created from CVE-2020-36242
- 2026-10-03 Alias added: GHSA-rhm9-p9w5-fwm7
References
Patch 3
Advisory 4
Other 6
- https://github.com/pyca/cryptography/security/advisories/GHSA-rhm9-p9w5-fwm7
- https://github.com/pyca/cryptography/commit/82b6ce28389f0a317bc55ba2091a74b346db7cae
- https://github.com/pyca/cryptography
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2021-63.yaml
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E
- https://lists.fedoraproject.org/archives/list/[email protected]/message/L7RGQLK4J5ZQFRLKCHVVG6BKZTUQMG7E
Sources
- CVE-2020-36242 · CVE Program
- CVE-2020-36242 · NVD
- FIRST EPSS
- GHSA-rhm9-p9w5-fwm7 · GitHub Advisory Database · CC BY 4.0
- CVE-2020-36242 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences