Mbed TLS 3.x Certificate Name Check Crash (CVE-2024-6119)
CVE-2024-6119 Published on September 3, 2024
Possible denial of service in X.509 name checks
Issue summary: Applications performing certificate name checks (e.g., TLS
clients checking server certificates) may attempt to read an invalid memory
address resulting in abnormal termination of the application process.
Impact summary: Abnormal termination of an application can a cause a denial of
service.
Applications performing certificate name checks (e.g., TLS clients checking
server certificates) may attempt to read an invalid memory address when
comparing the expected name with an `otherName` subject alternative name of an
X.509 certificate. This may result in an exception that terminates the
application program.
Note that basic certificate chain validation (signatures, dates, ...) is not
affected, the denial of service can occur only when the application also
specifies an expected DNS name, Email address or IP address.
TLS servers rarely solicit client certificates, and even when they do, they
generally don't perform a name check against a reference identifier (expected
identity), but rather extract the presented identity after checking the
certificate chain. So TLS servers are generally not affected and the severity
of the issue is Moderate.
The FIPS modules in 3.3, 3.2, 3.1 and 3.0 are not affected by this issue.
Vulnerability Analysis
CVE-2024-6119 can be exploited with network access, and does not require authorization privileges or user interaction. This vulnerability is considered to have a low attack complexity. The potential impact of an exploit of this vulnerability is considered to have a high impact on confidentiality, with no impact on integrity and availability.
Weakness Type
What is an Object Type Confusion Vulnerability?
The program allocates or initializes a resource such as a pointer, object, or variable using one type, but it later accesses that resource using a type that is incompatible with the original type.
CVE-2024-6119 has been classified to as an Object Type Confusion vulnerability or weakness.
Products Associated with CVE-2024-6119
You can be notified by email with stack.watch whenever vulnerabilities like CVE-2024-6119 are published in these products:
Affected Versions
OpenSSL:- Version 3.3.0 and below 3.3.2 is affected.
- Version 3.2.0 and below 3.2.3 is affected.
- Version 3.1.0 and below 3.1.7 is affected.
- Version 3.0.0 and below 3.0.15 is affected.
- Version 3.3.0 and below 3.3.2 is affected.
- Version 3.2.0 and below 3.2.3 is affected.
- Version 3.1.0 and below 3.1.7 is affected.
- Version 3.0.0 and below 3.0.15 is affected.
Exploit Probability
EPSS (Exploit Prediction Scoring System) scores estimate the probability that a vulnerability will be exploited in the wild within the next 30 days. The percentile shows you how this score compares to all other vulnerabilities.