CVE-2023-49083
cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
Reported by github_m · Published November 29, 2023
cryptography 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.
Risk scores
Affected products
| Vendor | Product | Versions |
|---|---|---|
| pyca | cryptography | >= 3.1, < 41.0.6 |
| pyca | cryptography | 3.1 |
| chainguard | mitmproxy | 0 |
| pyca | cryptography | |
| wolfi | py3-cassandra-medusa | 0 |
| wolfi | mitmproxy | 0 |
| chainguard | py3-cassandra-medusa | 0 |
| PyPI | cryptography | 3.1 |
| amazon:2023 | python3-cryptography | 0 |
Timeline
- Nov 27, 2023 Fix PR Merged
- Nov 28, 2023 CVE Published
- Dec 1, 2023 EPSS Score (30 in total, the first dated here)
- Feb 8, 2024 PoC Published
- Oct 5, 2024 Coalition ESS Score (9 in total, the first dated here)
- Jan 27, 2026 Security Advisory (61 in total, the first dated here)
- Aug 10, 2026 Distribution Patch (54 in total, the first dated here)
Query this with the API
The same record, from the CLI:
vulnetix vdb vuln CVE-2023-49083
vulnetix vdb fixes CVE-2023-49083
Or with curl, using the org id and key from your account page:
curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
"https://api.vdb.vulnetix.com/v2/vuln/CVE-2023-49083/fixes/registry"
The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97 x_refsource_CONFIRM
- https://github.com/pyca/cryptography/pull/9926 x_refsource_MISC
- https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a x_refsource_MISC
- https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html url
- https://nvd.nist.gov/vuln/detail/CVE-2023-49083 advisory
- https://github.com/advisories/GHSA-jfhm-5ghh-2f97 advisory
- https://github.com/pyca/cryptography url
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-254.yaml advisory
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV url