CVE-2023-49083
cryptography vulnerable to NULL-dereference when loading PKCS7 certificates
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.
How to fix CVE-2023-49083
To remediate CVE-2023-49083, upgrade the affected package to a fixed version below.
- —upgrade to 3.3.2-1+deb11u1 or later
- —upgrade to 41.0.6 or later
- —upgrade to f09c261ca10a31fe41b1262306db7f8f1da0e48a or later
Is CVE-2023-49083 being exploited?
Low — EPSS is 1.3%, meaning exploitation activity has not been observed at scale.
Affected packages (3)
- from 0, < 3.3.2-1+deb11u1
- >= 3.1, < 41.0.6
- from 0, < f09c261ca10a31fe41b1262306db7f8f1da0e48a | >= 3.1, < 41.0.6
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H |