VDB
Sign up
HIGH7.5

GHSA-537c-gmf6-5ccf

Vulnerable OpenSSL included in cryptography wheels

Quick fix

GHSA-537c-gmf6-5ccf — cryptography: upgrade to the fixed version with the command below.

pip install --upgrade 'cryptography>=48.0.1'

Details

pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in wheels prior to cryptograph 48.01 are vulnerable to a security issue. More details about the vulnerability itself can be found in https://openssl-library.org/news/secadv/20260609.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.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/cryptography
Introduced in: 0.5.0Fixed in: 48.0.1
Fixpip install --upgrade 'cryptography>=48.0.1'

References