Mbed TLS 3.x vulnerability: Incorrect handling of certificate usage
CVE-2024-45159

9.8CRITICAL

Key Information:

Vendor
Mbed TLS
Status
Mbed Tls
Vendor
CVE Published:
5 September 2024

Summary

An issue in Mbed TLS versions prior to 3.6.1 affects TLS 1.3 when a server allows optional client authentication. If a client provides a certificate lacking appropriate keyUsage or extKeyUsage extension values, the function mbedtls_ssl_get_verify_result() fails to set the MBEDTLS_X509_BADCERT_KEY_USAGE bits. This oversight allows an attacker to exploit certificates not intended for TLS client authentication, enabling potential security risks. The vulnerability is limited to servers utilizing optional client authentication; strict configurations requiring client credentials will trigger a handshake failure, thwarting such attacks.

References

CVSS V3.1

Score:
9.8
Severity:
CRITICAL
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Network
Attack Complexity:
Low
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

.