CVE-2023-49083
Vulnerability Summary
Timeline
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.
CVSS Metrics
- v3.1•MEDIUM•Score: 5.9CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
- v3.1•HIGH•Score: 7.5CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Trends
Current EPSS score: 0.98%• Percentile: 61%
Techniques & Countermeasures
- CWE-476•NULL Pointer Dereference
The product dereferences a pointer that it expects to be valid but is NULL.
Affected Systems
- chainguard•mitmproxy
< 12.2.1-r0
- chainguard•py3-cassandra-medusa
< 0.19.1-r1
- chainguard•py3-cassandra-medusa-compat
< 0.19.1-r1
- wolfi•mitmproxy
< 12.2.1-r0
- wolfi•py3-cassandra-medusa
< 0.19.1-r1
- wolfi•py3-cassandra-medusa-compat
< 0.19.1-r1
- cryptography.io•cryptography
≥ 3.1, < 41.0.6
- debian•python-cryptography
< 3.3.2-1+deb11u1 | < 38.0.4-3+deb12u1 | < 41.0.7-1 | < 41.0.7-1
- pyca•cryptography
≥ 3.1, < 41.0.6
- PyPI•cryptography
< f09c261ca10a31fe41b1262306db7f8f1da0e48a | ≥ 3.1, < 41.0.6
- redhat•python-cryptography
< 0:3.2.1-4.el8_4.1 | < 0:3.2.1-6.el8_8 | < 0:36.0.1-2.el9_2.1 | < 0:36.0.1-1.el9_0.1 | < 0:36.0.1-4.el9_4.1 | < 0:3.2.1-5.1.el8_6.1 | < 0:3.2.1-8.el8_10 | < 0:36.0.1-5.el9_6
- redhat•python-cryptography-debugsource
< 0:3.2.1-4.el8_4.1 | < 0:3.2.1-6.el8_8 | < 0:36.0.1-2.el9_2.1 | < 0:36.0.1-1.el9_0.1 | < 0:36.0.1-4.el9_4.1 | < 0:3.2.1-5.1.el8_6.1 | < 0:3.2.1-8.el8_10 | < 0:36.0.1-5.el9_6
- redhat•python3-cryptography
< 0:3.2.1-4.el8_4.1 | < 0:3.2.1-6.el8_8 | < 0:36.0.1-2.el9_2.1 | < 0:36.0.1-1.el9_0.1 | < 0:36.0.1-4.el9_4.1 | < 0:3.2.1-5.1.el8_6.1 | < 0:3.2.1-8.el8_10 | < 0:36.0.1-5.el9_6
- redhat•python3-cryptography-debuginfo
< 0:3.2.1-4.el8_4.1 | < 0:3.2.1-6.el8_8 | < 0:36.0.1-2.el9_2.1 | < 0:36.0.1-1.el9_0.1 | < 0:36.0.1-4.el9_4.1 | < 0:3.2.1-5.1.el8_6.1 | < 0:3.2.1-8.el8_10 | < 0:36.0.1-5.el9_6
- redhat•python3.11-cryptography
< 0:37.0.2-5.el8_8.1 | < 0:37.0.2-6.el9 | < 0:37.0.2-6.el8
- redhat•python3.11-cryptography-debuginfo
< 0:37.0.2-5.el8_8.1 | < 0:37.0.2-6.el9 | < 0:37.0.2-6.el8
- redhat•python3.11-cryptography-debugsource
< 0:37.0.2-5.el8_8.1 | < 0:37.0.2-6.el9 | < 0:37.0.2-6.el8
References (40)
- https://github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97
- https://github.com/pyca/cryptography/pull/9926
- https://github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV/
- https://lists.debian.org/debian-lts-announce/2024/10/msg00012.html
- https://nvd.nist.gov/vuln/detail/CVE-2023-49083
- https://github.com/pyca/cryptography
- https://github.com/pypa/advisory-database/tree/main/vulns/cryptography/PYSEC-2023-254.yaml
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMNTYMUGFJSDBYBU22FUYBHFRZODRKXV
- http://www.openwall.com/lists/oss-security/2023/11/29/2
- https://security-tracker.debian.org/tracker/CVE-2023-49083
- https://access.redhat.com/errata/RHSA-2024:10965
- https://access.redhat.com/security/updates/classification/#moderate
- https://bugzilla.redhat.com/show_bug.cgi?id=2255331
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_10965.json
- https://access.redhat.com/security/cve/CVE-2023-49083
- https://www.cve.org/CVERecord?id=CVE-2023-49083
- https://access.redhat.com/errata/RHSA-2024:2337
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/9/html/9.4_release_notes/index
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_2337.json
- https://access.redhat.com/errata/RHSA-2024:3105
- https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/8/html/8.10_release_notes/index
- https://security.access.redhat.com/data/csaf/v2/advisories/2024/rhsa-2024_3105.json
- https://access.redhat.com/errata/RHSA-2025:13098
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_13098.json
- https://access.redhat.com/errata/RHSA-2025:13100
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_13100.json
- https://access.redhat.com/errata/RHSA-2025:13101
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_13101.json
- https://access.redhat.com/errata/RHSA-2025:13102
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_13102.json
- https://access.redhat.com/errata/RHSA-2025:13103
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_13103.json
- https://access.redhat.com/errata/RHSA-2025:13104
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_13104.json
- https://access.redhat.com/errata/RHSA-2025:14553
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_14553.json
- https://access.redhat.com/errata/RHSA-2025:15874
- https://security.access.redhat.com/data/csaf/v2/advisories/2025/rhsa-2025_15874.json
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/49xxx/CVE-2023-49083.json