CVE-2024-45159

Critical

Description

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).

SeverityCritical
CVSS9.8
Exploit probability—
ProductTrustedfirmware Mbed Tls
PublishedSep 5, 2024
First seenSep 5, 2024
Weakness typeCWE-295CWE-295

How to fix

Update
  • trustedfirmware mbed_tls3.6.1 or later

Affected products

ProductAffected versionsFixed in
trustedfirmware mbed_tls3.2.0 ≤ v < 3.6.13.6.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.