CVE-2024-45159Trustedfirmware · Mbed_tls
Vulnerability data via NVD (ingested)
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).
External references
Search for exposed instances
Shodan + Censys queries derived from NVD's CPE data. The vuln tag catches assets Shodan has explicitly linked to this CVE; the product / banner fingerprints find exposed instances even when the vuln tag was never applied (which is common).
vuln:CVE-2024-45159product:"Trustedfirmware Mbed Tls"http.html:"Mbed Tls"More intel sources (5)
vuln:CVE-2024-45159vulnerabilities.cve_id: CVE-2024-45159CVE-2024-45159CVE-2024-45159"CVE-2024-45159" exploit -site:nvd.nist.gov