Vulnerability · Published Sep 3, 2024 · Assigned by openssl
CVE-2024-6119Possible denial of service in X.509 name checks
High 7.5
In plain English
A high-severity type confusion in OpenSSL from OpenSSL. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 66.6% (higher than 99.3% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| AlmaLinux:9 | edk2-aarch64 | 20231122-6.el9_4.4 | ALSA-2024:8935 |
| AlmaLinux:9 | edk2-ovmf | 20231122-6.el9_4.4 | ALSA-2024:8935 |
| AlmaLinux:9 | edk2-tools | 20231122-6.el9_4.4 | ALSA-2024:8935 |
| AlmaLinux:9 | edk2-tools-doc | 20231122-6.el9_4.4 | ALSA-2024:8935 |
| AlmaLinux:9 | openssl | 1:3.0.7-28.el9_4 | ALSA-2024:6783 |
| AlmaLinux:9 | openssl-devel | 1:3.0.7-28.el9_4 | ALSA-2024:6783 |
| AlmaLinux:9 | openssl-libs | 1:3.0.7-28.el9_4 | ALSA-2024:6783 |
| AlmaLinux:9 | openssl-perl | 1:3.0.7-28.el9_4 | ALSA-2024:6783 |
| Alpine:v3.20 | openssl | 3.3.2-r0 | ALPINE-CVE-2024-6119 |
| Alpine:v3.21 | openssl | 3.3.2-r0 | ALPINE-CVE-2024-6119 |
| Alpine:v3.22 | openssl | 3.3.2-r0 | ALPINE-CVE-2024-6119 |
| Alpine:v3.23 | openssl | 3.3.2-r0 | ALPINE-CVE-2024-6119 |
| Alpine:v3.24 | openssl | 3.3.2-r0 | ALPINE-CVE-2024-6119 |
| Debian:12 | openssl | 3.0.14-1~deb12u2 | DEBIAN-CVE-2024-6119 |
| Debian:12 | openssl | 3.0.14-1~deb12u2 | DSA-5764-1 |
| Debian:13 | openssl | 3.3.2-1 | DEBIAN-CVE-2024-6119 |
| Debian:14 | openssl | 3.3.2-1 | DEBIAN-CVE-2024-6119 |
| Rocky Linux:9 | edk2 | 0:20231122-6.el9_4.4 | RLSA-2024:8935 |
| Rocky Linux:9 | openssl | 1:3.0.7-28.el9_4 | RLSA-2024:6783 |
| Ubuntu:22.04:LTS | edk2 | 2022.02-3ubuntu0.22.04.4 | USN-7894-1 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 | USN-7894-1 |
| Ubuntu:24.04:LTS | edk2 | 2024.02-2ubuntu0.6 | UBUNTU-CVE-2024-6119 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.18 | USN-6986-1 |
| Ubuntu:22.04:LTS | openssl | 3.0.2-0ubuntu1.18 | UBUNTU-CVE-2024-6119 |
| Ubuntu:24.04:LTS | openssl | 3.0.13-0ubuntu3.4 | UBUNTU-CVE-2024-6119 |
| Ubuntu:24.04:LTS | openssl | 3.0.13-0ubuntu3.4 | USN-6986-1 |
Affected products (as reported)
Weakness: CWE-843 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- OpenSSL Advisory vendor-advisory
- 3.3.2 git commit patch
- 3.2.3 git commit patch
- 3.1.7 git commit patch
- 3.0.15 git commit patch
- http://www.openwall.com/lists/oss-security/2024/09/03/4
- https://lists.freebsd.org/archives/freebsd-security/2024-September/000303.html
- https://security.netapp.com/advisory/ntap-20240912-0001/
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html