CVE-2024-6119
Possible denial of service in X.509 name checks
Check your servers for CVE-2024-6119
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2024-6119 affects openssl, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality high, integrity none, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 66.5%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 99.2% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 3 Sep 2024):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-843 Access of Resource Using Incompatible Type
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| OpenSSL |
affected from 3.3.0, before 3.3.2 affected from 3.2.0, before 3.2.3 affected from 3.1.0, before 3.1.7 affected from 3.0.0, before 3.0.15
Other versions: unaffected
|
Is my server affected?
Find the installed version of openssl and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i openssl
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2024-6119 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2024-6119RHEL, Rocky, Alma, Fedora
rpm -q openssl
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2024-6119Alpine
apk list --installed | grep -i opensslWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2024-6119
trivy image --scanners vuln IMAGE | grep CVE-2024-6119
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- OpenSSL Advisory openssl-library.org · vendor advisory
Patches and release notes
- 3.3.2 git commit github.com · patch
- 3.2.3 git commit github.com · patch
- 3.1.7 git commit github.com · patch
- 3.0.15 git commit github.com · patch
Other references
- http://www.openwall.com/lists/oss-security/2024/09/03/4 openwall.com
- https://lists.freebsd.org/archives/freebsd-security/2024-September/000303.html lists.freebsd.org
- https://security.netapp.com/advisory/ntap-20240912-0001/ security.netapp.com
- https://cert-portal.siemens.com/productcert/html/ssa-769027.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-082556.html cert-portal.siemens.com
- https://cert-portal.siemens.com/productcert/html/ssa-613116.html cert-portal.siemens.com
Source: the record CVE-2024-6119 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse