PT-2021-7287

CVE-2020-36242

·

Published

2020-12-09

·

Updated

2026-10-31

Description by

CVSS 2.0
10
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions cryptography versions prior to 3.3.2
Description The issue is related to an integer overflow in the cryptography package for Python. This overflow can occur when certain sequences of update calls are made to symmetrically encrypt multi-GB values, potentially leading to a buffer overflow. An attacker could exploit this issue by sending specially crafted data, allowing them to execute arbitrary code in the target system. The Fernet class is specifically mentioned as demonstrating this vulnerability.
Recommendations For versions prior to 3.3.2, update to version 3.3.2 or newer to resolve the issue. As a temporary workaround, consider restricting the use of large values in symmetric encryption or decryption to minimize the risk of exploitation. Avoid using the update() function with multi-GB values until the issue is resolved.
Exploitability
Exploit
Fix
Impacts
Vendors
Affected products
Related identifiers
GHSA-RHM9-P9W5-FWM7
ALT-PU-2021-1235
ALT-PU-2023-7318
ALT-PU-2023-7463
ALT-PU-2023-7647
ALT-PU-2023-7888
ALT-PU-2023-8071
ALT-PU-2023-8443
ALT-PU-2024-9926
CESA-2021_1608
CLEANSTART-2026-JC68185
MGASA-2021-0129
OESA-2021-1089
OPENSUSE-SU-2021:0349-1
OPENSUSE-SU-2021_0349-1
OPENSUSE-SU-2024:11223-1
OPENSUSE-SU-2024:13819-1
OPENSUSE-SU-2026:11468-1
PYSEC-2021-63
RHSA-2021:1608
RHSA-2021_1608
RHSA-2021:2239
RHSA-2021:3254
RLSA-2021:1608
SUSE-FU-2022:0444-1
SUSE-FU-2022:0445-1
SUSE-RU-2022:4567-1
SUSE-SU-2021:0594-1
SUSE-SU-2021_0594-1
SUSE-SU-2021:0668-1
SUSE-SU-2021:0669-1
SUSE-SU-2021:0675-1
SUSE-SU-2021_0675-1
SUSE-SU-2021:0696-1
SUSE-SU-2021_0696-1
SUSE-SU-2023:0604-1
SUSE-SU-2023:1838-1
SUSE-SU-2023:2783-1
SUSE-SU-2023:2783-2
Found an issue in the description? Have something to add? Feel free to write us 👾