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

GMS-2023-2474: Vulnerable OpenSSL included in cryptography wheels

September 21, 2023

pyca/cryptography’s wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 2.5-41.0.3 is vulnerable to several security issues. More details about the vulnerabilities themselves can be found in https://www.openssl.org/news/secadv/20230908.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-v8gr-m533-ghj9
  • github.com/pyca/cryptography/commit/fc11bce6930e591ce26a2317b31b9ce2b3e25512
  • github.com/pyca/cryptography/security/advisories/GHSA-v8gr-m533-ghj9

Code Behaviors & Features

Detect and mitigate GMS-2023-2474 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 2.5 before 41.0.4

Fixed versions

  • 41.0.4

Solution

Upgrade to version 41.0.4 or above.

Source file

pypi/cryptography/GMS-2023-2474.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:21 +0000.