NULL Pointer Dereference Affecting cryptography package, versions [38.0.0, 42.0.4)
Threat Intelligence
EPSS
0.05% (17th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-PYTHON-CRYPTOGRAPHY-6261585
- published 22 Feb 2024
- disclosed 21 Feb 2024
- credit Unknown
Introduced: 21 Feb 2024
CVE-2024-26130 Open this link in a new tabHow to fix?
Upgrade cryptography
to version 42.0.4 or higher.
Overview
Affected versions of this package are vulnerable to NULL Pointer Dereference in the pkcs12.serialize_key_and_certificates
function. An attacker can crash the Python process.
Note: This is only exploitable if the vulnerable function is called with both:
A certificate whose public key does not match the provided private key.
An encryption_algorithm with hmac_hash set via
PrivateFormat.PKCS12.encryption_builder().hmac_hash(...)
.
References
CVSS Scores
version 3.1