NULL pointer dereference in python-cryptography



Published: 2024-03-05
Risk Medium
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2024-26130
CWE-ID CWE-476
Exploitation vector Network
Public exploit N/A
Vulnerable software
Subscribe
python-cryptography
Universal components / Libraries / Programming Languages & Components

Vendor Python Cryptographic Authority

Security Bulletin

This security bulletin contains one medium risk vulnerability.

1) NULL pointer dereference

EUVDB-ID: #VU87129

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 - NULL Pointer Dereference

Exploit availability: No

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.



###SIDEBAR###