CVE-2024-26130

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.

Risk Information

Base Score
7.5
MODERATE
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H
EPSS Score
Exploitation Probability
0.462

Associated Vulnerability

VulnerabilityOS Platform
Multiple vulnerabilities are fixed in Duo Security Authentication Proxy 6.4.0Windows
Multiple vulnerabilities are fixed in Duo Security Authentication Proxy (6.2.0)Windows
Multiple vulnerabilities are fixed in Duo Security Authentication Proxy (6.3.0)Windows
Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.59Windows
Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.60Windows
Multiple vulnerabilities are affected in Oracle PeopleSoft Enterprise PeopleTools 8.61Windows
Multiple Vulnerabilities are affected in IBM Planning Analytics Local 2.0Windows
Multiple Vulnerabilities are affected in IBM Planning Analytics Local 2.1Windows
Vulnerabilities CVE-2024-26130 are fixed in Python-cryptography 42.0.4Windows
Cryptography Python library (USN-6673-3) python3-cryptography_41.0.7-4ubuntu0.1_amd64.debLinux
Python3.12-cryptography update (ELSA-2025-20364) python3.12-cryptography-41.0.7-1.0.1.el8.x86_64.rpmLinux
Vulnerabilities CVE-2024-26130 are fixed in Python-cryptography for linux 42.0.4Linux

Patch Details

Click to see the patches provided by ManageEngine for this CVE
Patch IDPatch Description
PATCH-338054Duo Security Authentication Proxy (6.4.0)
PATCH-338054Duo Security Authentication Proxy (6.4.0)
PATCH-342393Duo Security Authentication Proxy (6.4.2)

References

https://nvd.nist.gov/vuln/detail/CVE-2023-1234
https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2023-1234