CVE-2024-20918: High severity Oracle GraalVM vulnerability
An unspecified vulnerability in Java SE related to the VM component could allow a remote attacker to cause high confidentiality impact and high integrity impact.
Other sources
It was discovered that the Hotspot component of OpenJDK was missing range checks when accessing an array in a loop. An untrusted Java application or applet could use this flaw to corrupt JVM memory and cause it to crash or, possibly, execute arbitrary code, bypassing Java sandbox restrictions.
— Red Hat
Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Hotspot). Supported versions that are affected are Oracle Java SE: 8u391, 8u391-perf, 11.0.21, 17.0.9, 21.0.1; Oracle GraalVM for JDK: 17.0.9, 21.0.1; Oracle GraalVM Enterprise Edition: 20.3.12, 21.3.8 and 22.3.4. Difficult to exploit vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. Successful attacks of this vulnerability can result in unauthorized creation, deletion or modification access to critical data or all Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data as well as unauthorized access to critical data or complete access to all Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition accessible data. Note: This vulnerability can be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. This vulnerability also applies to Java deployments, typically in clients running sandboxed Java Web Start applications or sandboxed Java applets, that load and run untrusted code (e.g., code that comes from the internet) and rely on the Java sandbox for security. CVSS 3.1 Base Score 7.4 (Confidentiality and Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N).
— NVD
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
debian/openjdk-11to a version that resolves this vulnerability.Fixed in 11.0.24+8-2~deb11u1Fixed in 11.0.26+4-1~deb11u1Fixed in 11.0.27+6-1 - Upgrade
Upgrade
debian/openjdk-17to a version that resolves this vulnerability.Fixed in 17.0.12+7-2~deb11u1Fixed in 17.0.14+7-1~deb11u1Fixed in 17.0.14+7-1~deb12u1Fixed in 17.0.15+6-1~deb12u1Fixed in 17.0.15+6-1 - Upgrade
Upgrade
debian/openjdk-21to a version that resolves this vulnerability.Fixed in 21.0.7+6-1 - Upgrade
Upgrade
debian/openjdk-8to a version that resolves this vulnerability.Fixed in 8u442-ga-2 - Upgrade
Upgrade
Oracle Java SE 8u391/8u391-perfto a version that resolves this vulnerability.Fixed in 8u391-perf - Upgrade
Upgrade
Oracle Java SE 11.0.21to a version that resolves this vulnerability.Fixed in 11.0.21 - Upgrade
Upgrade
Oracle Java SE 17.0.9to a version that resolves this vulnerability.Fixed in 17.0.9 - Upgrade
Upgrade
Oracle Java SE 21.0.1to a version that resolves this vulnerability.Fixed in 21.0.1 - Upgrade
Upgrade
Oracle GraalVM for JDK 17.0.9to a version that resolves this vulnerability.Fixed in 17.0.9 - Upgrade
Upgrade
Oracle GraalVM for JDK 21.0.1to a version that resolves this vulnerability.Fixed in 21.0.1 - Upgrade
Upgrade
Oracle GraalVM Enterprise Edition 20.3.12to a version that resolves this vulnerability.Fixed in 20.3.12 - Upgrade
Upgrade
Oracle GraalVM Enterprise Edition 21.3.8to a version that resolves this vulnerability.Fixed in 21.3.8 - Upgrade
Upgrade
Oracle GraalVM Enterprise Edition 22.3.4to a version that resolves this vulnerability.Fixed in 22.3.4 - Compensating control
Avoid running untrusted Java applets or Java Web Start applications (e.g., code from the internet) that rely on the Java sandbox, since this Hotspot range-check weakness can corrupt JVM memory, crash the JVM, or possibly execute arbitrary code and bypass sandbox restrictions.
Event History
Frequently Asked Questions
What is the severity of CVE-2024-20918?
The severity of CVE-2024-20918 is rated as high, affecting confidentiality and integrity.
How do I fix CVE-2024-20918?
To fix CVE-2024-20918, update to the latest patched versions of affected software as specified in the vendor advisories.
Which software is affected by CVE-2024-20918?
CVE-2024-20918 affects multiple software, including specific versions of Oracle GraalVM, JDK, and IBM Cognos Controller.
Can CVE-2024-20918 be exploited remotely?
Yes, CVE-2024-20918 can be exploited remotely by attackers to compromise confidentiality and integrity.
What components of Java SE are impacted by CVE-2024-20918?
CVE-2024-20918 specifically impacts the VM component and the Hotspot component of OpenJDK due to missing range checks.