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

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

June 2, 2023

pyca/cryptography’s wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.5-40.0.2 is vulnerable to a security issue. More details about the vulnerability itself can be found in https://www.openssl.org/news/secadv/20230530.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

  • cryptography.io/en/latest/changelog/
  • github.com/advisories/GHSA-5cpq-8wj7-hf2v
  • github.com/pyca/cryptography/commit/8708245ccdeaff21d65eea68a4f8d2a7c5949a22
  • github.com/pyca/cryptography/security/advisories/GHSA-5cpq-8wj7-hf2v

Code Behaviors & Features

Detect and mitigate GMS-2023-1778 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 0.5 up to 40.0.2

Fixed versions

  • 41.0.0

Solution

Upgrade to version 41.0.0 or above.

Source file

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