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)
ReferencesDLA-3922-1
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
buster, buster (lts)2.6.1-3+deb10u5fixed
buster (security)2.6.1-3+deb10u4fixed
bullseye3.3.2-1vulnerable
bullseye (security)3.3.2-1+deb11u1fixed
bookworm38.0.4-3+deb12u1fixed
bookworm (security)38.0.4-3~deb12u1vulnerable
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-cryptographysourcebullseye3.3.2-1+deb11u1DLA-3922-1
python-cryptographysourcebookworm38.0.4-3+deb12u1
python-cryptographysource(unstable)41.0.7-11057108

Notes

[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 (42.0.0)
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