cryptography NULL pointer deference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| pyca | cryptography | affected |
|
| Package | CPE | Advisory | Released Date |
|---|---|---|---|
| Red Hat Ansible Automation Platform 2.4 for RHEL 8 | |||
| python3x-cryptography-0:42.0.5-1.el8ap | cpe:/a:redhat:ansible_automation_platform:2.4::el8 | RHSA-2024:3781 | 2024-06-10T00:00:00Z |
| Red Hat Ansible Automation Platform 2.4 for RHEL 9 | |||
| python-cryptography-0:42.0.5-1.el9ap | cpe:/a:redhat:ansible_automation_platform:2.4::el9 | RHSA-2024:3781 | 2024-06-10T00:00:00Z |
| Red Hat Satellite 6.15 for RHEL 8 | |||
| python-cryptography-0:42.0.8-1.el8pc | cpe:/a:redhat:satellite:6.15::el8 | RHSA-2024:7987 | 2024-10-10T00:00:00Z |
| rubygem-foreman_theme_satellite-0:13.3.0-0.1.el8sat | cpe:/a:redhat:satellite:6.15::el8 | RHSA-2024:7987 | 2024-10-10T00:00:00Z |
| python-cryptography-0:42.0.8-1.el8pc | cpe:/a:redhat:satellite_capsule:6.15::el8 | RHSA-2024:7987 | 2024-10-10T00:00:00Z |
| rubygem-foreman_theme_satellite-0:13.3.0-0.1.el8sat | cpe:/a:redhat:satellite_capsule:6.15::el8 | RHSA-2024:7987 | 2024-10-10T00:00:00Z |
| RHUI 4 for RHEL 8 | |||
| python-cryptography-0:42.0.8-1.el8ui | cpe:/a:redhat:rhui:4::el8 | RHSA-2025:1335 | 2025-02-12T00:00:00Z |
No data available yet.
| Source | ID | Title |
|---|---|---|
EUVD |
EUVD-2024-0031 | 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. |
Github GHSA |
GHSA-6vqw-3v5j-54x4 | cryptography NULL pointer dereference with pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override |
Ubuntu USN |
USN-6673-1 | python-cryptography vulnerabilities |
Ubuntu USN |
USN-6673-3 | python-cryptography vulnerability |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.831% probability within 30 days)
Key SSVC decision points have not yet been added.
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
epss
|
epss
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat rhui
|
|
| CPEs | cpe:/a:redhat:rhui:4::el8 | |
| Vendors & Products |
Redhat rhui
|
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Cryptography.io
Cryptography.io cryptography |
|
| CPEs | cpe:2.3:a:cryptography.io:cryptography:*:*:*:*:*:python:*:* | |
| Vendors & Products |
Cryptography.io
Cryptography.io cryptography |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Redhat satellite
Redhat satellite Capsule |
|
| CPEs | cpe:/a:redhat:satellite:6.15::el8 cpe:/a:redhat:satellite_capsule:6.15::el8 |
|
| Vendors & Products |
Redhat satellite
Redhat satellite Capsule |