CVE-2024-26130
Last modified
CVE-2024-26130 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.83% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Cryptography.Io | Cryptography | >= 38.0.0, < 42.0.4 |
References
- https://github.com/pyca/cryptography/pull/10423Issue Tracking, Patch
- https://github.com/pyca/cryptography/pull/10423Issue Tracking, Patch
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2024-26130?
How severe is CVE-2024-26130?
How do I fix CVE-2024-26130?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2024
- CVE-2024-26125Adobe Experience Manager versions 6.5.19 and earlier are aff…5.4
- CVE-2024-26126Adobe Experience Manager versions 6.5.20 and earlier are aff…3.5
- CVE-2024-26127Adobe Experience Manager versions 6.5.20 and earlier are aff…3.5
- CVE-2024-26128baserCMS is a website development framework. Prior to versio…5.4
- CVE-2024-26129PrestaShop is an open-source e-commerce platform. Starting i…5.3
- CVE-2024-2613Data was not properly sanitized when decoding a QUIC ACK fra…7.5
- CVE-2024-26131Element Android is an Android Matrix Client. Element Android…7.8
- CVE-2024-26132Element Android is an Android Matrix Client. A third-party m…3.3
- CVE-2024-26133EventStoreDB (ESDB) is an operational database built to stor…4.9
- CVE-2024-26134cbor2 provides encoding and decoding for the Concise Binary …7.5
- CVE-2024-26135MeshCentral is a full computer management web site. Versions…8.8
- CVE-2024-26136kedi ElectronCord is a bot management tool for Discord. Comm…7.5
Are you affected by CVE-2024-26130?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
