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

Configuration 1 (hide)

cpe:2.3:a:arm:mbed_tls:*:*:*:*:*:*:*:*

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/ - () https://github.com/Mbed-TLS/mbedtls/releases/ - Release Notes
References () https://mbed-tls.readthedocs.io/en/latest/security-advisories/ - () 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/ - () 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 : unknown
v3 : unknown
v2 : unknown
v3 : 9.8

06 Sep 2024, 12:08

Type Values Removed Values Added
Summary
  • (es) Se descubrió un problema en Mbed TLS 3.x antes de la versión 3.6.1. Con TLS 1.3, cuando un servidor habilita la autenticación opcional del cliente, si el certificado proporcionado por el cliente no tiene los valores adecuados en las extensiones if keyUsage o extKeyUsage, el valor de retorno de mbedtls_ssl_get_verify_result() tendría incorrectamente los bits MBEDTLS_X509_BADCERT_KEY_USAGE y MBEDTLS_X509_BADCERT_KEY_USAGE limpios. Como resultado, un atacante que tuviera un certificado válido para usos distintos a la autenticación de cliente TLS podría usarlo de todos modos para la autenticación de cliente TLS. Solo los servidores TLS 1.3 se vieron afectados, y solo con autenticación opcional (con la autenticación requerida, el protocolo de enlace se cancelaría con una alerta fatal).

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