CVE-2023-49083

NameCVE-2023-49083
Descriptioncryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Calling `load_pem_pkcs7_certificates` or `load_der_pkcs7_certificates` could lead to a NULL-pointer dereference and segfault. Exploitation of this vulnerability poses a serious risk of Denial of Service (DoS) for any application attempting to deserialize a PKCS7 blob/certificate. The consequences extend to potential disruptions in system availability and stability. This vulnerability has been patched in version 41.0.6.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1057108

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
buster2.6.1-3+deb10u2fixed
buster (security)2.6.1-3+deb10u4fixed
bullseye3.3.2-1vulnerable
bookworm38.0.4-3vulnerable
bookworm (security)38.0.4-3~deb12u1vulnerable
trixie41.0.7-4vulnerable
sid42.0.5-2vulnerable

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)(unfixed)1057108

Notes

[bookworm] - python-cryptography <no-dsa> (Minor issue)
[bullseye] - python-cryptography <no-dsa> (Minor issue)
[buster] - python-cryptography <not-affected> (Vulnerable code introduced later)
https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97
https://github.com/pyca/cryptography/pull/9926
https://github.com/pyca/cryptography/commit/1e7b4d074e14c4e694d3ce69ad6754a6039fd6ff (main)
https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a (41.0.6)
[stretch] - python-cryptography <not-affected> (Vulnerable code introduced later)
[jessie] - python-cryptography <not-affected> (Vulnerable code introduced later)

Search for package or bug name: Reporting problems