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

CVE-2024-12797: Vulnerable OpenSSL included in cryptography wheels

February 11, 2025 (updated February 12, 2025)

pyca/cryptography’s wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 42.0.0-44.0.0 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20250211.txt.

If you are building cryptography source (“sdist”) then you are responsible for upgrading your copy of OpenSSL. Only users installing from wheels built by the cryptography project (i.e., those distributed on PyPI) need to update their cryptography versions.

References

  • github.com/advisories/GHSA-79v4-65xg-pq4g
  • github.com/openssl/openssl/commit/738d4f9fdeaad57660dcba50a619fafced3fd5e9
  • github.com/openssl/openssl/commit/798779d43494549b611233f92652f0da5328fbe7
  • github.com/openssl/openssl/commit/87ebd203feffcf92ad5889df92f90bb0ee10a699
  • github.com/pyca/cryptography
  • github.com/pyca/cryptography/security/advisories/GHSA-79v4-65xg-pq4g
  • nvd.nist.gov/vuln/detail/CVE-2024-12797
  • openssl-library.org/news/secadv/20250211.txt

Code Behaviors & Features

Detect and mitigate CVE-2024-12797 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 42.0.0 before 44.0.1

Fixed versions

  • 44.0.1

Solution

Upgrade to version 44.0.1 or above.

Weakness

  • CWE-1395: Dependency on Vulnerable Third-Party Component
  • CWE-392: Missing Report of Error Condition

Source file

pypi/cryptography/CVE-2024-12797.yml

Spotted a mistake? Edit the file on GitLab.

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

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