PyPi: Cryptography

CVE-2020-36242

Safety vulnerability ID: 39606

This vulnerability was reviewed by experts

The information on this page was manually curated by our Cybersecurity Intelligence Team.

Created at Feb 07, 2021 Updated at Oct 18, 2024
Scan your Python projects for vulnerabilities →

Advisory

Cryptography 3.3.2 includes a fix for CVE-2020-36242: 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.

Affected package

cryptography

Latest version: 43.0.3

cryptography is a package which provides cryptographic recipes and primitives to Python developers.

Affected versions

Fixed versions

Vulnerability changelog

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. See CVE-2020-36242.


CONFIRM:https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst: https://github.com/pyca/cryptography/blob/master/CHANGELOG.rst
CONFIRM:https://github.com/pyca/cryptography/compare/3.3.1...3.3.2: https://github.com/pyca/cryptography/compare/3.3.1...3.3.2
MISC:https://github.com/pyca/cryptography/issues/5615: https://github.com/pyca/cryptography/issues/5615

Resources

Use this package?

Scan your Python project for dependency vulnerabilities in two minutes

Scan your application

Severity Details

CVSS Base Score

CRITICAL 9.1

CVSS v3 Details

CRITICAL 9.1
Attack Vector (AV)
NETWORK
Attack Complexity (AC)
LOW
Privileges Required (PR)
NONE
User Interaction (UI)
NONE
Scope (S)
UNCHANGED
Confidentiality Impact (C)
HIGH
Integrity Impact (I)
NONE
Availability Availability (A)
HIGH

CVSS v2 Details

MEDIUM 6.4
Access Vector (AV)
NETWORK
Access Complexity (AC)
LOW
Authentication (Au)
NONE
Confidentiality Impact (C)
PARTIAL
Integrity Impact (I)
NONE
Availability Impact (A)
PARTIAL