mirror of
https://github.com/Mbed-TLS/mbedtls.git
synced 2024-12-28 15:17:21 +00:00
e0c6f80403
Signed-off-by: Elena Uziunaite <elena.uziunaite@arm.com>
12 lines
696 B
Plaintext
12 lines
696 B
Plaintext
Security
|
|
* With TLS 1.3, when a server enables optional authentication of the
|
|
client, if the client-provided certificate does not have appropriate values
|
|
in 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 could be able to use it for TLS client
|
|
authentication anyway. Only TLS 1.3 servers were affected, and only with
|
|
optional authentication (required would abort the handshake with a fatal
|
|
alert).
|