DEBIAN-CVE-2024-26130

Source
https://security-tracker.debian.org/tracker/CVE-2024-26130
Import Source
https://storage.googleapis.com/osv-test-debian-osv/debian-cve-osv/DEBIAN-CVE-2024-26130.json
JSON Data
https://api.test.osv.dev/v1/vulns/DEBIAN-CVE-2024-26130
Upstream
Published
2024-02-21T17:15:09Z
Modified
2025-09-25T23:29:58.683858Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H CVSS Calculator
Summary
[none]
Details

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

Affected packages

Debian:12 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
38.0.4-3+deb12u1

Affected versions

38.*

38.0.4-3

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:13 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.0.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}

Debian:14 / python-cryptography

Package

Name
python-cryptography
Purl
pkg:deb/debian/python-cryptography?arch=source

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected
Fixed
42.0.5-1

Ecosystem specific

{
    "urgency": "not yet assigned"
}