Breaking News: Thousands Of GitHub Accounts Hijacked With wfx-loot CI Secret
Read the Report
Learn How MCP Is Bypassing a Decade of Cloud Security Best Practices
Read the Report
Are you exposed? Connect a repo in minutes.
Scan your repos free

CVE-2020-36242

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

Overview

Published
7 Feb 2021
Modified
17 Jun 2026
Critical CVE
1 Registry packages
272 OS packages
11 Linux distributions
Yes Fix available

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.

Source: OX vulnerability database

Severity

9.1 · CRITICAL

CVSS 3.1 base score, scored by NVD.

Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H

Weakness: CWE-190, CWE-787

Affected packages · 1

Packages affected by CVE-2020-36242
EcosystemPackageVulnerableFixed in
PyPI cryptography >=3.1, <3.3.2 3.3.2

Open a package to see all its vulnerabilities.

Operating systems · 215 fixes

Oracle Linux 1 release · 1 package

fixed 1
python3-cryptography
Oracle Linux fixes for CVE-2020-36242
ReleasePackageFixed in
8 python3-cryptography 3.2.1-4.el8

Photon OS 1 release · 1 package

fixed 1
python3-cryptography
Photon OS fixes for CVE-2020-36242
ReleasePackageFixed in
4.0 python3-cryptography 3.3.2-1.ph4

Red Hat 4 releases · 10 packages

eol 2 wont fix 3 fixed 9
python-cryptography rh-python38-python-urllib3 rh-python38-python-pip rh-python38-python-jinja2 rh-python38-python-babel rh-python38-python-cryptography +4
Red Hat fixes for CVE-2020-36242
ReleasePackageFixed inAdvisory
7 python-cryptography +1 eol —
7 python-cryptography +1 wont fix —
7 rh-python38-python-urllib3 0:1.25.7-7.el7 RHSA-2021:3254
7 rh-python38-python-pip +1 0:19.3.1-2.el7 RHSA-2021:3254
7 rh-python38-python-jinja2 0:2.10.3-6.el7 RHSA-2021:3254
7 rh-python38-python-babel 0:2.7.0-12.el7 RHSA-2021:3254

8 more rows

SUSE Linux Enterprise 3 releases · 175 packages

fixed 182
python-cryptography python3-aliyun-python-sdk-hbr python3-aliyun-python-sdk-oms python3-aliyun-python-sdk-eas python3-aliyun-python-sdk-ocs python3-aliyun-python-sdk-bss +169
SUSE Linux Enterprise fixes for CVE-2020-36242
ReleasePackageFixed inAdvisory
12.5 python-cryptography +1 2.1.4-7.34.1 SUSE-SU-2021:0675-1
15.4 python3-aliyun-python-sdk-hbr +2 0.0.2-150100.3.7.5 SUSE-SU-2023:1838-1
15.4 python3-aliyun-python-sdk-oms +2 0.0.3-150100.3.7.4 SUSE-SU-2023:1838-1
15.4 python3-aliyun-python-sdk-eas 0.0.3-150100.3.7.5 SUSE-SU-2023:1838-1
15.4 python3-aliyun-python-sdk-ocs 0.0.4-150100.3.7.4 SUSE-SU-2023:1838-1
15.4 python3-aliyun-python-sdk-bss 0.0.4-150100.3.7.5 SUSE-SU-2023:1838-1

176 more rows

SUSE Linux Enterprise Micro 2 releases · 1 package

fixed 2
python3-cryptography
SUSE Linux Enterprise Micro fixes for CVE-2020-36242
ReleasePackageFixed inAdvisory
5.1 python3-cryptography 3.3.2-150200.16.1 SUSE-SU-2023:0604-1
5.2 python3-cryptography 3.3.2-150200.16.1 SUSE-SU-2023:0604-1

alpine 4 releases · 1 package

fixed 4
py3-cryptography
alpine fixes for CVE-2020-36242
ReleasePackageFixed in
3.22 py3-cryptography 3.2.2-r0
3.23 py3-cryptography 3.2.2-r0
3.24 py3-cryptography 3.2.2-r0
edge py3-cryptography 3.2.2-r0

debian 5 releases · 1 package

affected 1 fixed 4
python-cryptography
debian fixes for CVE-2020-36242
ReleasePackageFixed in
10 python-cryptography affected
11 python-cryptography 3.3.2-1
12 python-cryptography 3.3.2-1
13 python-cryptography 3.3.2-1
14 python-cryptography 3.3.2-1

echo 1 release · 1 package

fixed 1
python-cryptography
echo fixes for CVE-2020-36242
ReleasePackageFixed in
python-cryptography 3.3.2-1

openSUSE 1 release · 3 packages

fixed 3
python36-cryptography python310-cryptography python313-cryptography
openSUSE fixes for CVE-2020-36242
ReleasePackageFixed inAdvisory
Tumbleweed python36-cryptography +2 3.3.2-2.4 openSUSE-SU-2024:11223-1
Tumbleweed python310-cryptography +2 42.0.5-1.1 openSUSE-SU-2024:13819-1
Tumbleweed python313-cryptography +1 50.0.0-1.1 openSUSE-SU-2026:11468-1

rocky 1 release · 1 package

fixed 1
python3-cryptography
rocky fixes for CVE-2020-36242
ReleasePackageFixed in
8 python3-cryptography 3.2.1-4.el8

root.io debian 1 release · 1 package

fixed 1
rootio-python-cryptography
root.io debian fixes for CVE-2020-36242
ReleasePackageFixed in
12 rootio-python-cryptography 3.3.2-1

References

Show all 30 references

OX Radar and Response Center

Find threats in your stack.

OX Radar can check high-priority threats, like critical package CVEs, against your context.

Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.