Vulnerability in Trustedfirmware Mbed TLS
CVE-2024-45159
An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a server enables optional authentication of the client, if the client-provided certificate does not have appropriate values in if keyUsage or extKeyUsage extensions, then the return value of mbedtls_ssl_get_verify_result() would incorrectly have the MBEDTLS_X509_BADCERT_KEY_USAGE and MBEDTLS_X509_BADCERT_KEY_USAGE bits clear. As a result, an attacker that had a certificate valid for uses other than TLS client authentication would nonetheless be able to use it for TLS client authentication. Only TLS 1.3 servers were affected, and only with optional authentication (with required authentication, the handshake would be aborted with a fatal alert).
Vulnerability class: Improper Certificate Validation
EPSS: 0.004 (32.1th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 9.8 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H.
Affected products
- Trustedfirmware Mbed_tls
- N/a — versions n/a
Weakness classification (CWE)
References
- cve@mitre.org (Issue Tracking)
- cve@mitre.org (Release Notes)
- cve@mitre.org (Vendor Advisory)
Frequently asked questions
- What is CVE-2024-45159?
- CVE-2024-45159 is a critical-severity vulnerability in Trustedfirmware Mbed TLS, classified under Improper Certificate Validation. CVSS score: 9.8/10. Published 2024-09-05.
- How severe is CVE-2024-45159?
- Critical severity. CVSS v3 base score is 9.8 out of 10.