# CVE-2024-21004: Missing authorization in Java SE JDK and JRE

> An attacker with local access can modify Java SE data via JavaFX, requiring user interaction and affecting client-side sandboxed deployments.

- **Severity:** Low 2.5 (`CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Local or same network only
- **Victim action needed:** A user has to click or open something
- **Fix available:** Yes
- **Published:** 16 Apr 2024
- **Updated:** 13 Feb 2025
- **Also known as:** BIT-java-2024-21004, BIT-java-min-2024-21004, BIT-jre-2024-21004, GHSA-r5cc-f7pr-5v73, MINI-2m4q-363v-j9gv, UBUNTU-CVE-2024-21004

## What is CVE-2024-21004?

CVE-2024-21004 is a low-severity missing authorization vulnerability in Netapp Active Iq Unified Manager, published on 16 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

### Official description

Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: JavaFX).  Supported versions that are affected are Oracle Java SE: 8u401; Oracle GraalVM Enterprise Edition: 20.3.13 and  21.3.9. Difficult to exploit vulnerability allows unauthenticated attacker with logon to the infrastructure where Oracle Java SE, Oracle GraalVM Enterprise Edition executes to compromise Oracle Java SE, Oracle GraalVM Enterprise Edition.  Successful attacks require human interaction from a person other than the attacker. Successful attacks of this vulnerability can result in  unauthorized update, insert or delete access to some of Oracle Java SE, 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 2.5 (Integrity impacts).  CVSS Vector: (CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:N/I:L/A:N).

Weakness: CWE-276 (Incorrect Default Permissions)

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

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.411 |
| `java-min` | Bitnami | All versions | 1.8.0, 8.0.411 |
| `jre` | Bitnami | All versions | 1.8.0, 8.0.411 |

Products: Netapp Active Iq Unified Manager, Netapp Data Infrastructure Insights Acquisition Unit, Netapp Data Infrastructure Insights Storage Workload Security Agent, Netapp Oncommand Insight, Netapp Oncommand Workflow Automation, Oracle Graalvm, Oracle Jdk, Oracle Jre.

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

Upgrade java to a fixed version for your release line: 1.8.0 or 8.0.411.

## Is CVE-2024-21004 being exploited?

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

## Other vulnerabilities in Netapp Active Iq Unified Manager

- [CVE-2022-31692](https://insights.sbomify.com/CVE-2022-31692/): Spring Security authorization rules can be bypassed via forward or include dispatcher types (critical 9.8)
- [CVE-2022-2526](https://insights.sbomify.com/CVE-2022-2526/): Use after free in systemd-resolved (critical 9.8)
- [CVE-2022-22978](https://insights.sbomify.com/CVE-2022-22978/): Authorization bypass in Spring Security (critical 9.8)
- [CVE-2021-22931](https://insights.sbomify.com/CVE-2021-22931/): Code injection in Node (critical 9.8)
- [CVE-2018-2938](https://insights.sbomify.com/CVE-2018-2938/): Code injection in Java (critical 9.0)

## Fix prompt for AI coding agents

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

What it is: CVE-2024-21004 is a low-severity missing authorization vulnerability in Netapp Active Iq Unified Manager, published on 16 Apr 2024. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Exploitation: There is no known exploitation of CVE-2024-21004 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.411
- java-min (Bitnami): affected all versions; fixed in 1.8.0, 8.0.411
- jre (Bitnami): affected all versions; fixed in 1.8.0, 8.0.411

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-21004/ (Markdown: https://insights.sbomify.com/CVE-2024-21004/index.md)
```

## Sources

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

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