Lookup for vulnerable packages by Package URL.
| Purl | pkg:pypi/cryptography@41.0.0 |
| Type | pypi |
| Namespace | |
| Name | cryptography |
| Version | 41.0.0 |
| Qualifiers |
|
| Subpath | |
| Is_vulnerable | true |
| Next_non_vulnerable_version | 46.0.7 |
| Latest_non_vulnerable_version | 46.0.7 |
| Affected_by_vulnerabilities |
| 0 |
|
| 1 |
| url |
VCID-dzvc-j4et-ukgu |
| vulnerability_id |
VCID-dzvc-j4et-ukgu |
| summary |
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Starting in version 38.0.0 and prior to version 42.0.4, if `pkcs12.serialize_key_and_certificates` is called with both a certificate whose public key did not match the provided private key and an `encryption_algorithm` with `hmac_hash` set (via `PrivateFormat.PKCS12.encryption_builder().hmac_hash(...)`, then a NULL pointer dereference would occur, crashing the Python process. This has been resolved in version 42.0.4, the first version in which a `ValueError` is properly raised. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2024-26130, GHSA-6vqw-3v5j-54x4, PYSEC-2024-225
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-dzvc-j4et-ukgu |
|
| 2 |
| url |
VCID-jksg-v3x3-z3d3 |
| vulnerability_id |
VCID-jksg-v3x3-z3d3 |
| summary |
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Prior to version 46.0.6, DNS name constraints were only validated against SANs within child certificates, and not the "peer name" presented during each validation. Consequently, cryptography would allow a peer named bar.example.com to validate against a wildcard leaf certificate for *.example.com, even if the leaf's parent certificate (or upwards) contained an excluded subtree constraint for bar.example.com. This issue has been patched in version 46.0.6. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2026-34073, GHSA-m959-cc7f-wv43, PYSEC-2026-35
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-jksg-v3x3-z3d3 |
|
| 3 |
| url |
VCID-n7hx-bfnn-5kgc |
| vulnerability_id |
VCID-n7hx-bfnn-5kgc |
| summary |
cryptography is a package designed to expose cryptographic primitives and recipes to Python developers. Calling `load_pem_pkcs7_certificates` or `load_der_pkcs7_certificates` could lead to a NULL-pointer dereference and segfault. Exploitation of this vulnerability poses a serious risk of Denial of Service (DoS) for any application attempting to deserialize a PKCS7 blob/certificate. The consequences extend to potential disruptions in system availability and stability. This vulnerability has been patched in version 41.0.6. |
| references |
|
| fixed_packages |
|
| aliases |
CVE-2023-49083, GHSA-jfhm-5ghh-2f97, PYSEC-2023-254
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-n7hx-bfnn-5kgc |
|
|
| Fixing_vulnerabilities |
| 0 |
| url |
VCID-78m5-9977-afbh |
| vulnerability_id |
VCID-78m5-9977-afbh |
| summary |
Vulnerable OpenSSL included in cryptography wheels
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 |
|
| fixed_packages |
|
| aliases |
GHSA-5cpq-8wj7-hf2v, GMS-2023-1778
|
| risk_score |
null |
| exploitability |
null |
| weighted_severity |
null |
| resource_url |
http://public2.vulnerablecode.io/vulnerabilities/VCID-78m5-9977-afbh |
|
|
| Risk_score | null |
| Resource_url | http://public2.vulnerablecode.io/packages/pkg:pypi/cryptography@41.0.0 |