Red Hat VEX
RHVEX-CVE-2023-49083
python-cryptography: NULL-dereference when loading PKCS7 certificates
Details
A null-pointer dereference vulnerability was found in python-cryptography during the loading of PKCS7 certificates. Invoking "load_pem_pkcs7_certificates" or "load_der_pkcs7_certificates" can trigger this issue and lead to subsequent segmentation fault and result in a Denial of Service (DoS) for any application aiming to deserialize a PKCS7 blob or certificate. The potential impact includes disruptions in system availability and stability.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Red Hat:enterprise_linux:7 | python-cryptography | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:7 | python2-cryptography | All versions, no fix (out of support scope) |
| Red Hat:enterprise_linux:8 | python-cryptography | All versions, no fix yet |
| Red Hat:enterprise_linux:8 | python3-cryptography | All versions, no fix yet |
References
- https://access.redhat.com/security/cve/CVE-2023-49083
- https://bugzilla.redhat.com/show_bug.cgi?id=2255331
- https://www.cve.org/CVERecord?id=CVE-2023-49083
- https://nvd.nist.gov/vuln/detail/CVE-2023-49083
- https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a
- https://github.com/pyca/cryptography/pull/9926
- https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97