CVE-2024-21068: Integer Overflow
It was discovered that the C1 compiler in the Hotspot component of OpenJDK did not correctly apply an unsigned integer left shift to calculate the actual address offset under certain conditions. This could lead to an integer overflow and out-of-bounds array access, potentially corrupting the JVM memory.
Other sources
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: 8u401-perf, 11.0.22, 17.0.10, 21.0.2, 22; Oracle GraalVM for JDK: 17.0.10, 21.0.2 and 22; Oracle GraalVM Enterprise Edition: 21.3.9. 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 update, insert or delete access to some of 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 3.7 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N).
— NVD
Affected Software
Remediation
Event History
Frequently Asked Questions
What is the severity of CVE-2024-21068?
CVE-2024-21068 is considered a high-severity vulnerability due to the potential for integer overflow and out-of-bounds array access.
How do I fix CVE-2024-21068?
To fix CVE-2024-21068, update affected software to the latest patched versions provided by the vendor.
Which software versions are affected by CVE-2024-21068?
CVE-2024-21068 affects multiple versions of Oracle GraalVM, JDK, and JRE, specifically versions 1.8.0-update401, 11.0.22, 17.0.10, 21.0.2, and 22.0.1.
What are the potential risks of CVE-2024-21068?
The risks associated with CVE-2024-21068 include possible corruption of the JVM memory and unauthorized access due to out-of-bounds errors.
Can CVE-2024-21068 impact production environments?
Yes, CVE-2024-21068 can significantly impact production environments by destabilizing applications that rely on the affected OpenJDK components.