CVE-2024-20952 Use after free in Java SE JDK and JRE

High 7.4 Published Updated

An unauthenticated attacker can exploit a use-after-free flaw in Java SE to read or modify critical data via network access.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-20952?

CVE-2024-20952 is a high-severity use after free vulnerability in Debian Debian Linux, published on 16 Jan 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Security). 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 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. This vulnerability does not apply to Java deployments, typically in servers, that load and run only trusted code (e.g., code installed by an administrator). 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).

Weakness: CWE-416, CWE-284

Which versions are affected by CVE-2024-20952?

3 open source packages ship an affected version, including java, java-min and jre. It affects 9 products.

PackageAffectedFixed in
java BitnamiAll versions1.8.0, 8.0.401, 11.0.22, 17.0.10, 21.0.2
java-min BitnamiAll versions1.8.0, 8.0.401, 11.0.22, 17.0.10, 21.0.2
jre BitnamiAll versions1.8.0, 8.0.401, 11.0.22, 17.0.10, 21.0.2

Products include Debian Debian Linux, Netapp Cloud Insights Acquisition Unit, Netapp Cloud Insights Storage Workload Security Agent, Netapp Oncommand Insight, Oracle Graalvm, Oracle Graalvm for Jdk and 3 more.

How do I fix CVE-2024-20952?

Upgrade java to a fixed version for your release line: 1.8.0, 8.0.401, 11.0.22 or 17.0.10.

Upgrade to the fixed version. These bugs are found with fuzzing and sanitisers and avoided by memory-safe languages. More about Use after free.

Is CVE-2024-20952 being exploited?

There is no known exploitation of CVE-2024-20952 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as BELL-CVE-2024-20952, BIT-java-2024-20952, BIT-java-min-2024-20952, BIT-jre-2024-20952, CLEANSTART-2026-KG57889, CLEANSTART-2026-ZC34581 and 13 more.

Is CVE-2024-20952 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free