CVE-2020-36242

NameCVE-2020-36242
DescriptionIn 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
python-cryptography (PTS)jessie0.6.1-1+deb8u1fixed
stretch1.7.1-3+deb9u2fixed
buster, buster (lts)2.6.1-3+deb10u5fixed
buster (security)2.6.1-3+deb10u4fixed
bullseye3.3.2-1fixed
bullseye (security)3.3.2-1+deb11u1fixed
bookworm38.0.4-3+deb12u1fixed
bookworm (security)38.0.4-3~deb12u1fixed
sid, trixie43.0.0-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
python-cryptographysourcejessie(not affected)
python-cryptographysourcestretch(not affected)
python-cryptographysourcebuster(not affected)
python-cryptographysource(unstable)3.3.2-1

Notes

[buster] - python-cryptography <no-dsa> (Minor issue)
[stretch] - python-cryptography <not-affected> (Vulnerable code introduced later)
https://github.com/pyca/cryptography/issues/5615
[buster] - python-cryptography <not-affected> (Vulnerable code introduced later)
[jessie] - python-cryptography <not-affected> (Vulnerable code introduced later)
Introduced by: https://github.com/pyca/cryptography/commit/f90ba1808ee9bd9a13c5673b776484644f29d7ba (3.1)

Search for package or bug name: Reporting problems