CVE-2023-49083 cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
HighCVSS 7.5
EPSS 0.99%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
Description
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.
Upgrade path
7 packages: 6 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| cryptography.io cryptography | >= 3.1, < 41.0.6 | 41.0.6 | Fixed |
| debian/python-cryptography(Debian 12) | < 38.0.4-3+deb12u1; = 38.0.4-3 | 38.0.4-3+deb12u1 | Fixed |
| debian/python-cryptography(Debian 13) | < 41.0.7-1 | 41.0.7-1 | Fixed |
| debian/python-cryptography(Debian 14) | < 41.0.7-1 | 41.0.7-1 | Fixed |
| pypi cryptography(PyPI) | = 3.1; = 3.1.1; = 3.2; = 3.2.1 +39 more | 41.0.6 | Fixed |
| ubuntu/python-cryptography(Ubuntu 22.04) | < 3.4.8-1ubuntu2.1; = 3.3.2-1; = 3.3.2-1build1; = 3.4.8-1 +2 more | 3.4.8-1ubuntu2.1 | Fixed |
| pyca cryptography | = >= 3.1, < 41.0.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cryptography(PyPI) | >= 3.1, < 41.0.6 | 41.0.6 |
| pypi cryptography(PyPI) | = 3.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.1.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.2 | No fix listed |
| pypi cryptography(PyPI) | = 3.2.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.3 | No fix listed |
| pypi cryptography(PyPI) | = 3.3.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.3.2 | No fix listed |
| pypi cryptography(PyPI) | = 3.4 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.1 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.2 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.3 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.4 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.5 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.6 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.7 | No fix listed |
| pypi cryptography(PyPI) | = 3.4.8 | No fix listed |
| pypi cryptography(PyPI) | = 35.0.0 | No fix listed |
| pypi cryptography(PyPI) | = 36.0.0 | No fix listed |
| pypi cryptography(PyPI) | = 36.0.1 | No fix listed |
| pypi cryptography(PyPI) | = 36.0.2 | No fix listed |
| pypi cryptography(PyPI) | = 37.0.0 | No fix listed |
| pypi cryptography(PyPI) | = 37.0.1 | No fix listed |
| pypi cryptography(PyPI) | = 37.0.2 | No fix listed |
| pypi cryptography(PyPI) | = 37.0.3 | No fix listed |
Show 30 more
| Product | Affected versions | Fixed in |
|---|---|---|
| pypi cryptography(PyPI) | = 37.0.4 | No fix listed |
| pypi cryptography(PyPI) | = 38.0.0 | No fix listed |
| pypi cryptography(PyPI) | = 38.0.1 | No fix listed |
| pypi cryptography(PyPI) | = 38.0.2 | No fix listed |
| pypi cryptography(PyPI) | = 38.0.3 | No fix listed |
| pypi cryptography(PyPI) | = 38.0.4 | No fix listed |
| pypi cryptography(PyPI) | = 39.0.0 | No fix listed |
| pypi cryptography(PyPI) | = 39.0.1 | No fix listed |
| pypi cryptography(PyPI) | = 39.0.2 | No fix listed |
| pypi cryptography(PyPI) | = 40.0.0 | No fix listed |
| pypi cryptography(PyPI) | = 40.0.1 | No fix listed |
| pypi cryptography(PyPI) | = 40.0.2 | No fix listed |
| pypi cryptography(PyPI) | = 41.0.0 | No fix listed |
| pypi cryptography(PyPI) | = 41.0.1 | No fix listed |
| pypi cryptography(PyPI) | = 41.0.2 | No fix listed |
| pypi cryptography(PyPI) | = 41.0.3 | No fix listed |
| pypi cryptography(PyPI) | = 41.0.4 | No fix listed |
| pypi cryptography(PyPI) | = 41.0.5 | No fix listed |
| debian/python-cryptography(Debian:12) | < 38.0.4-3+deb12u1 | 38.0.4-3+deb12u1 |
| debian/python-cryptography(Debian:12) | = 38.0.4-3 | No fix listed |
| debian/python-cryptography(Debian:13) | < 41.0.7-1 | 41.0.7-1 |
| debian/python-cryptography(Debian:14) | < 41.0.7-1 | 41.0.7-1 |
| pyca cryptography | = >= 3.1, < 41.0.6 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:22.04) | < 3.4.8-1ubuntu2.1 | 3.4.8-1ubuntu2.1 |
| cryptography.io cryptography | >= 3.1, < 41.0.6 | 41.0.6 |
| ubuntu/python-cryptography(Ubuntu:22.04) | = 3.3.2-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:22.04) | = 3.3.2-1build1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:22.04) | = 3.4.8-1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:22.04) | = 3.4.8-1ubuntu1 | No fix listed |
| ubuntu/python-cryptography(Ubuntu:22.04) | = 3.4.8-1ubuntu2 | No fix listed |
References
- https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97 exploit issue-tracking vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/pyca/cryptography/pull/9926 issue-tracking patch
- https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a patch
- github.com product
- github.com
- lists.debian.org
- lists.fedoraproject.org
- www.openwall.com issue-tracking
- Debian Security Tracker CVE-2023-49083 vendor-advisory
- github.com
- Ubuntu CVE tracker issue-tracking vendor-advisory
- USN-6539-1 vendor-advisory
- www.cve.org issue-tracking
- bugs.debian.org issue-tracking