#VU87129 NULL pointer dereference in python-cryptography


Published: 2024-03-05

Vulnerability identifier: #VU87129

Vulnerability risk: Medium

CVSSv3.1: 6.5 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-26130

CWE-ID: CWE-476

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
python-cryptography
Universal components / Libraries / Programming Languages & Components

Vendor: Python Cryptographic Authority

Description

The vulnerability allows a remote attacker to perform a denial of service (DoS) attack.

The vulnerability exists due to a NULL pointer dereference error within pkcs12.serialize_key_and_certificates when called with a non-matching certificate and private key and an hmac_hash override. A remote attacker can pass specially crafted data to the application and perform a denial of service (DoS) attack.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

python-cryptography: 38.0.0 - 42.0.3


External links
http://github.com/pyca/cryptography/security/advisories/GHSA-6vqw-3v5j-54x4
http://github.com/pyca/cryptography/pull/10423
http://github.com/pyca/cryptography/commit/97d231672763cdb5959a3b191e692a362f1b9e55


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability