# CVE-2024-21145: Security feature bypass in Java SE JDK and JRE

> An unauthenticated attacker can bypass Java sandbox restrictions to read and modify accessible data via network protocols.

- **Severity:** Medium 4.8 (`CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 16 Jul 2024
- **Updated:** 26 Aug 2025
- **Also known as:** BIT-java-2024-21145, BIT-java-min-2024-21145, BIT-jre-2024-21145, CLEANSTART-2026-CA29673, CLEANSTART-2026-CZ61948, DEBIAN-CVE-2024-21145, GHSA-4mqw-v4pq-hg97, MINI-44xp-w3mx-v2mg, MINI-758r-936p-6qqf, MINI-79qr-46vc-5jjp, MINI-f755-wqgc-4358, MINI-ffv2-6x77-rghj, MINI-hmmp-78hc-39fc, MINI-j2p2-cm9p-86fv, MINI-rj42-hcg9-c757, MINI-wqcw-4r9p-xgvm, MINI-wr7x-pcx5-2j2c, UBUNTU-CVE-2024-21145

## What is CVE-2024-21145?

CVE-2024-21145 is a medium-severity vulnerability in Netapp Oncommand Insight, published on 16 Jul 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: 2D).  Supported versions that are affected are Oracle Java SE: 8u411, 8u411-perf, 11.0.23, 17.0.11, 21.0.3, 22.0.1; Oracle GraalVM for JDK: 17.0.11, 21.0.3, 22.0.1; Oracle GraalVM Enterprise Edition: 20.3.14 and  21.3.10. 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 as well as  unauthorized read access to a subset 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 4.8 (Confidentiality and Integrity impacts).  CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N).

Weakness: CWE-284 (Improper Access Control)

## Which versions are affected by CVE-2024-21145?

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


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `java` | Bitnami | All versions | 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2 |
| `java-min` | Bitnami | All versions | 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2 |
| `jre` | Bitnami | All versions | 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2 |

Products: Netapp Bluexp, Netapp Cloud Insights Storage Workload Security Agent, Netapp Oncommand Insight, Netapp Oncommand Workflow Automation, Oracle Graalvm, Oracle Graalvm for Jdk, Oracle Jdk, Oracle Jre.

## How do I fix CVE-2024-21145?

Upgrade java to a fixed version for your release line: 1.8.0, 8.0.421, 11.0.24 or 17.0.12.

## Is CVE-2024-21145 being exploited?

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

## Other vulnerabilities in Netapp Oncommand Insight

- [CVE-2024-25617](https://insights.sbomify.com/CVE-2024-25617/): Denial of Service in HTTP Header parser in squid proxy (medium 5.3)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2024-21145 and fix it if it is affected.

What it is: CVE-2024-21145 is a medium-severity vulnerability in Netapp Oncommand Insight, published on 16 Jul 2024. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2024-21145 in the wild and no public exploit code.

Affected packages and fixed versions:
- java (Bitnami): affected all versions; fixed in 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
- java-min (Bitnami): affected all versions; fixed in 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2
- jre (Bitnami): affected all versions; fixed in 1.8.0, 8.0.421, 11.0.24, 17.0.12, 21.0.4, 22.0.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2024-21145/ (Markdown: https://insights.sbomify.com/CVE-2024-21145/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2024-21145
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2024-21145
- OSV: https://osv.dev/vulnerability/CVE-2024-21145

---
From sbomify Insights: https://insights.sbomify.com/CVE-2024-21145/
Summaries are generated and may contain mistakes; the official description above is the record.
