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).
References
Link | Resource |
---|---|
https://github.com/Mbed-TLS/mbedtls/releases/ | Release Notes |
https://mbed-tls.readthedocs.io/en/latest/security-advisories/ | Issue Tracking |
https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-3/ | Vendor Advisory |
Configurations
History
19 Sep 2024, 18:26
Type | Values Removed | Values Added |
---|---|---|
CPE | cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:* | |
CWE | CWE-295 | |
References | () https://github.com/Mbed-TLS/mbedtls/releases/ - Release Notes | |
References | () https://mbed-tls.readthedocs.io/en/latest/security-advisories/ - Issue Tracking | |
References | () https://mbed-tls.readthedocs.io/en/latest/security-advisories/mbedtls-security-advisory-2024-08-3/ - Vendor Advisory | |
First Time |
Arm mbed Tls
Arm |
|
CVSS |
v2 : v3 : |
v2 : unknown
v3 : 9.8 |
06 Sep 2024, 12:08
Type | Values Removed | Values Added |
---|---|---|
Summary |
|
05 Sep 2024, 19:15
Type | Values Removed | Values Added |
---|---|---|
New CVE |
Information
Published : 2024-09-05 19:15
Updated : 2024-09-19 18:26
NVD link : CVE-2024-45159
Mitre link : CVE-2024-45159
CVE.ORG link : CVE-2024-45159
JSON object : View
Products Affected
arm
- mbed_tls
CWE
CWE-295
Improper Certificate Validation