Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. cryptography
  4. ›
  5. CVE-2023-49083

CVE-2023-49083: NULL Pointer Dereference

November 29, 2023 (updated February 17, 2024)

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.

References

  • www.openwall.com/lists/oss-security/2023/11/29/2
  • github.com/advisories/GHSA-jfhm-5ghh-2f97
  • github.com/pyca/cryptography/commit/f09c261ca10a31fe41b1262306db7f8f1da0e48a
  • github.com/pyca/cryptography/pull/9926
  • github.com/pyca/cryptography/security/advisories/GHSA-jfhm-5ghh-2f97
  • nvd.nist.gov/vuln/detail/CVE-2023-49083

Code Behaviors & Features

Detect and mitigate CVE-2023-49083 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 3.1 before 41.0.6

Fixed versions

  • 41.0.6

Solution

Upgrade to version 41.0.6 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Learn more about CVSS

Weakness

  • CWE-476: NULL Pointer Dereference

Source file

pypi/cryptography/CVE-2023-49083.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:15:35 +0000.