Skip to content

Vulnerable OpenSSL included in cryptography wheels

High severity GitHub Reviewed Published Feb 7, 2023 in pyca/cryptography • Updated Mar 27, 2023

Package

pip cryptography (pip)

Affected versions

>= 0.8.1, < 39.0.1

Patched versions

39.0.1
cargo openssl-src (Rust)
< 111.25.0
>= 300.0.0, < 300.0.12
111.25.0
300.0.12

Description

pyca/cryptography's wheels include a statically linked copy of OpenSSL. The versions of OpenSSL included in cryptography 0.8.1-39.0.0 are vulnerable to a security issue. More details about the vulnerabilities themselves can be found in https://www.openssl.org/news/secadv/20221213.txt and https://www.openssl.org/news/secadv/20230207.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

@alex alex published to pyca/cryptography Feb 7, 2023
Published by the National Vulnerability Database Feb 8, 2023
Published to the GitHub Advisory Database Feb 8, 2023
Reviewed Feb 8, 2023
Last updated Mar 27, 2023

Severity

High
7.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
None
Availability
High
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:H

Weaknesses

CVE ID

CVE-2023-0286

GHSA ID

GHSA-x4qr-2fvf-3mr5

Source code

Credits

Checking history
See something to contribute? Suggest improvements for this vulnerability.