cve.bz

CVE-2020-36242 Year 2038 problem, Y2K38, Y2038, Epochalypse

9.1 criticalExploit referenceEPSS 6.8%Fix available

Critical (9.1). EPSS 6.8% estimated probability of exploitation activity in the next 30 days. Fixed in cryptography 3.3.2.

On this page
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.

Severity

CVSS 3.1

9.1 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H
EPSS
6.8% (unchanged from 6.8% a week ago; 6.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 94th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-190 Integer Overflow or Wraparound (Year 2038 problem, Y2K38, Y2038, Epochalypse)
CWE-787 Out-of-bounds Write
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-36242 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-36242?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-36242?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-36242 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
cryptography.io:cryptographybefore 3.3.2
fedoraproject:fedora33
oracle:communications_cloud_native_core_network_function_cloud_native_environment1.10.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-rhm9-p9w5-fwm7PyPIcryptography>=3.1 <3.3.23.3.2
PYSEC-2021-63PyPIcryptography>=3.1 <3.3.23.3.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14python-cryptography3.3.2-1DEBIAN-CVE-2020-36242
Red Hatenterprise_linux:8::baseospython-cryptography, python3-cryptography, python3-cryptography-debuginfo and 1 more0:3.2.1-4.el8RHSA-2021:1608
Red Hatrhel_software_collections:3::el7rh-python38-babel, rh-python38-python-babel0:2.7.0-12.el7RHSA-2021:3254
Red Hatrhel_software_collections:3::el7rh-python38-python, rh-python38-python-idle, rh-python38-python-libs and 7 more0:3.8.11-2.el7RHSA-2021:3254
Red Hatrhel_software_collections:3::el7rh-python38-python-cryptography, rh-python38-python-cryptography-debuginfo0:2.8-5.el7RHSA-2021:3254
Red Hatrhel_software_collections:3::el7rh-python38-python-jinja20:2.10.3-6.el7RHSA-2021:3254
Red Hatrhel_software_collections:3::el7rh-python38-python-lxml, rh-python38-python-lxml-debuginfo0:4.4.1-7.el7RHSA-2021:3254
Red Hatrhel_software_collections:3::el7rh-python38-python-pip, rh-python38-python-pip-wheel0:19.3.1-2.el7RHSA-2021:3254
Red Hatrhel_software_collections:3::el7rh-python38-python-urllib30:1.25.7-7.el7RHSA-2021:3254
Red Hatrhev_hypervisor:4.4::el8redhat-virtualization-host, redhat-virtualization-host-image-update0:4.4.6-20210527.3.el8_4RHSA-2021:2239
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-ESPOS, Linux Enterprise High Performance Computing 15 SP1-LTSS and 10 morepython-cryptography2.1.4-4.9.2SUSE-SU-2021:0696-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-BCL and 2 morepython-bcrypt3.1.4-150100.6.2.1SUSE-RU-2022:4567-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-BCL and 2 morepython-cffi1.15.0-150000.4.11.2SUSE-RU-2022:4567-1
SUSEEnterprise Storage 6, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise Server 15 SP1-BCL and 2 morepython-cryptography2.9.2-150100.7.8.2SUSE-RU-2022:4567-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP1-LTSS and 15 morepython-websocket-client1.3.2-150100.6.7.3SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morepython-cryptography3.3.2-150200.16.1SUSE-SU-2023:0604-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 14 morepython-zope.interface4.4.2-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 13 morepython-constantly15.1.0-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 13 morepython-hyperlink17.2.1-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morepython-Automat0.6.0-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Enterprise Storage 7.1, Linux Enterprise High Performance Computing 15 SP2-LTSS and 11 morepython-incremental17.5.0-150000.3.4.1SUSE-SU-2023:2783-1
SUSEEnterprise Storage 7, Linux Enterprise High Performance Computing 15 SP1-LTSS, Linux Enterprise High Performance Computing 15 SP2-LTSS and 5 morepython-psutil5.9.1-150100.6.6.3SUSE-SU-2023:2783-1
189 more for SUSE in the JSON and on SUSE's page.
openSUSELeap 15.2python-cryptography2.8-lp152.2.6.1openSUSE-SU-2021:0349-1
openSUSELeap 15.4azure-cli-core2.17.1-150100.6.18.1SUSE-SU-2023:2783-1
openSUSELeap 15.4python-aliyun-python-sdk, python-aliyun-python-sdk-webplus, python-aliyun-python-sdk-paistudio and 2 more1.0.0-150100.3.7.4SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-acm, python-aliyun-python-sdk-afs, python-aliyun-python-sdk-ccs and 6 more1.0.1-150100.3.7.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-adb, python-aliyun-python-sdk-das, python-aliyun-python-sdk-gpdb1.0.5-150100.3.7.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-aegis, python-aliyun-python-sdk-cassandra, python-aliyun-python-sdk-dybaseapi1.0.6-150100.3.7.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-alinlp1.0.16-150100.3.7.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-aliyuncvc1.0.10.2-150100.3.7.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-amqp-open1.1.1-150100.3.5.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-bss0.0.4-150100.3.7.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-cams, python-aliyun-python-sdk-geoip, python-aliyun-python-sdk-cloudwf and 2 more1.0.3-150100.3.7.5SUSE-SU-2023:1838-1
openSUSELeap 15.4python-aliyun-python-sdk-cbn, python-aliyun-python-sdk-imageaudit1.0.7-150100.3.7.5SUSE-SU-2023:1838-1
44 more for openSUSE in the JSON and on openSUSE's page.
Rocky Linux8python-cryptography0:3.2.1-4.el8RLSA-2021:1608
Alpinev3.13py3-cryptography3.3.2-r0ALPINE-CVE-2020-36242
Alpinev3.16, v3.17, v3.18 and 6 morepy3-cryptography3.2.2-r0ALPINE-CVE-2020-36242

From the distributions' data via OSV.dev: the Debian Security Tracker; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; Rocky Linux's errata, BSD-3-Clause; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Red Hat · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

Triggering this flaw on in versions of python-cryptography as shipped with Red Hat Enterprise Linux 8 BaseOS, Appstream, as well as Red Hat Software Collections, can result in denial of service due to memory consumption or MemoryError exception.

In Red Hat OpenStack Platform, because the flaw has a lower impact and the fix would require a substantial amount of development, no update will be provided at this time for the RHOSP python-cryptography package.

Red Hat's mitigation

Mitigation 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.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 8python-cryptography-0:3.2.1-4.el8Fixed 2021-05-18RHSA-2021:1608
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-babel-0:2.7.0-12.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-0:3.8.11-2.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-cryptography-0:2.8-5.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-jinja2-0:2.10.3-6.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-lxml-0:4.4.1-7.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-pip-0:19.3.1-2.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7rh-python38-python-urllib3-0:1.25.7-7.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-python38-babel-0:2.7.0-12.el7Fixed 2021-08-24RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUSrh-python38-python-0:3.8.11-2.el7Fixed 2021-08-24RHSA-2021:3254
CloudForms Management Engine 5python-cryptographyNot affected
Red Hat Ansible Automation Platform 1.2cryptographyWill not fix
Red Hat Ansible Automation Platform 1.2python-cryptographyWill not fix
Red Hat Ansible Engine 2python-cryptographyOut of support scope
Red Hat Ansible Tower 3cryptographyWill not fix
Red Hat Enterprise Linux 7python-cryptographyOut of support scope
Red Hat Enterprise Linux 8python38:3.8/python-cryptographyWill not fix
Red Hat Enterprise Linux 8python39:3.9/python-cryptographyWill not fix
Red Hat Enterprise Linux 9python-cryptographyNot affected
Red Hat OpenStack Platform 13 (Queens)python-cryptographyWill not fix
7 more in the JSON and on Red Hat's page.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-36242.

Attack patterns (CAPEC)

  • CAPEC-92 Forced Integer Overflow Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON