Skip to main content
← All vulnerabilities
CVE-2023-49083GHSA-JFHM-5GHH-2F97PYSEC-2023-254

cryptography vulnerable to NULL-dereference when loading PKCS7 certificates

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 41.0.6
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: poc
  • Automatable: no
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: partial

  3. Record last updated

Affected versions

  • pyca cryptography

    From 3.1 · fixed in 41.0.6

  • cryptographyPyPI

    From 3.1 · fixed in 41.0.6

References 4

GitHub · pyca/cryptography

lists.fedoraproject.org