CVE-2024-45159

An issue was discovered in Mbed TLS 3.x before 3.6.1

Critical · published September 5, 2024

CVSS v3.1
9.8
EPSS
0%
Percentile
31.9
In the wild
Unconfirmed
What it is

🔥 A sneaky certificate oversight could let an attacker stroll right in! TLS 1.3 servers using optional client authentication might not be verifying those key usages properly, and that’s a critical concern. ⚡ Think of it like a VIP club where bouncers aren’t checking IDs properly. If someone shows up with a certificate that isn't valid for entry, but the bouncers let them in anyway, that's a huge security breach! An attacker could exploit this flaw to authenticate themselves as a legitimate client, potentially gaining unauthorized access to sensitive data or services. Given that they could use a certificate meant for other purposes, the risk of impersonation becomes alarmingly simple. This flaw could lead to serious data breaches and undermine trust in secure communications!

Put simply

Think of it like a VIP club where bouncers aren’t checking IDs properly. If someone shows up with a certificate that isn't valid for entry, but the bouncers let them in anyway, that's a huge security breach! This vulnerability in Mbed TLS 3.x allows an attacker to bypass key usage checks when optional client authentication is enabled, leaving the `mbedtls_ssl_get_verify_result()` function incorrectly clear certain error bits, thus permitting invalid certificates to authenticate successfully.

What to do

An attacker could exploit this flaw to authenticate themselves as a legitimate client, potentially gaining unauthorized access to sensitive data or services. Given that they could use a certificate meant for other purposes, the risk of impersonation becomes alarmingly simple. This flaw could lead to serious data breaches and undermine trust in secure communications! Immediate action is required: Upgrade Mbed TLS to version 3.6.1 or later to address this vulnerability. Additionally, ensure that your client authentication settings are configured to require valid key usages to mitigate the risk. Regularly audit your security configurations to stay ahead! You’ve got this! By following these steps, you can secure your server in no time! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00390 · 31.9th percentile
Published
2024-09-05T00:00Z
EPSS history
Timeline
  • 05 SEP 00:00Z
    An issue was discovered in Mbed TLS 3.x before 3.6.1
    cvelistv5