CVE-2024-45159
published 2024-09-05CVE-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…
PriorityP358critical9.8CVSS 3.1
AVNACLPRNUINSUCHIHAH
EPSS
0.39%
30.5th percentile
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).
Affected
8 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| debian | mbedtls | — | — |
| mbed | mbedtls | >= 0 < 3.6.1-r0 | 3.6.1-r0 |
| mbed | mbedtls | >= 0 < 3.6.1-r0 | 3.6.1-r0 |
| mbed | mbedtls | >= 0 < 3.6.1-r0 | 3.6.1-r0 |
| mbed | mbedtls | >= 0 < 3.6.1-r0 | 3.6.1-r0 |
| msrc | cbl_mariner_2.0_arm | — | — |
| msrc | cbl_mariner_2.0_x64 | — | — |
| trustedfirmware | mbed_tls | >= 3.2.0 < 3.6.1 | 3.6.1 |
CVSS provenance
nvdv3.19.8CRITICALCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
osv9.8CRITICAL
vendor_debian9.8LOW
vendor_msrc9.8CRITICAL
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
CVE-2024-45159: An issue was discovered in Mbed TLS 3
osv·2024-09-05·CVSS 9.8
CVE-2024-45159 [CRITICAL] CVE-2024-45159: An issue was discovered in Mbed TLS 3
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).
GHSA
GHSA-cr54-4mf7-rg5v: An issue was discovered in Mbed TLS 3
ghsa_unreviewed·2024-09-05
CVE-2024-45159 [CRITICAL] CWE-295 GHSA-cr54-4mf7-rg5v: An issue was discovered in Mbed TLS 3
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).
Microsoft
CVE-2024-45159: NIST NVD Details: https://nvd
vendor_msrc·2024-11-12·CVSS 9.8
CVE-2024-45159 [CRITICAL] CVE-2024-45159: NIST NVD Details: https://nvd
NIST NVD Details: https://nvd.nist.gov/vuln/detail/CVE-2024-45159
Mariner: Mariner
[email protected]: [email protected]
Customer Action Required: Yes
Remediation: hvloader
Reference: https://nvd.nist.gov/vuln/detail/CVE-2024-45159
Debian
CVE-2024-45159: mbedtls - An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a serve...
vendor_debian·2024·CVSS 9.8
CVE-2024-45159 [CRITICAL] CVE-2024-45159: mbedtls - An issue was discovered in Mbed TLS 3.x before 3.6.1. With TLS 1.3, when a serve...
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).
Scope: local
bookworm: resolved
bullseye: resolved
forky: resolved
sid: res
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-09-05
Published