CVE-2025-21502 Missing authorization in Oracle Java SE

Medium 4.8 Published Updated

An unauthenticated attacker can bypass authorization checks to read and modify accessible data in Oracle Java SE and GraalVM.

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

What is CVE-2025-21502?

CVE-2025-21502 is a medium-severity missing authorization vulnerability in Debian Debian Linux, published on 21 Jan 2025. 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: Hotspot). Supported versions that are affected are Oracle Java SE: 8u431-perf, 11.0.25, 17.0.13, 21.0.5, 23.0.1; Oracle GraalVM for JDK: 17.0.13, 21.0.5, 23.0.1; Oracle GraalVM Enterprise Edition: 20.3.16 and 21.3.12. 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-863

Which versions are affected by CVE-2025-21502?

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

PackageAffectedFixed in
java BitnamiAll versions1.8.0, 8.0.441, 11.0.26, 17.0.14, 21.0.6, 23.0.2
java-min BitnamiAll versions1.8.0, 8.0.441, 11.0.26, 17.0.14, 21.0.6, 23.0.2
jre BitnamiAll versions1.8.0, 8.0.441, 11.0.26, 17.0.14, 21.0.6, 23.0.2
Linux distribution packages (37)
java-17-openjdk AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-demo AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-demo-fastdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-demo-slowdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-devel AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-devel-fastdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-devel-slowdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-fastdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-headless AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-headless-fastdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-headless-slowdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-javadoc AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-javadoc-zip AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-jmods AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-jmods-fastdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-jmods-slowdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-slowdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-src AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-src-fastdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-src-slowdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-static-libs AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-static-libs-fastdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-17-openjdk-static-libs-slowdebug AlmaLinux:8All versions1:17.0.14.0.7-3.el8
java-21-openjdk AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-demo AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-demo-fastdebug AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-demo-slowdebug AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-devel AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-devel-fastdebug AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-devel-slowdebug AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-fastdebug AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-headless AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-headless-fastdebug AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-headless-slowdebug AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-javadoc AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-javadoc-zip AlmaLinux:8All versions1:21.0.6.0.7-1.el8
java-21-openjdk-jmods AlmaLinux:8All versions1:21.0.6.0.7-1.el8

Products include Debian Debian Linux, Netapp Active Iq Unified Manager, Netapp Bootstrap Os, Netapp Brocade San Navigator, Netapp Data Infrastructure Insights Storage Workload Security Agent, Netapp Oncommand Insight and 5 more.

How do I fix CVE-2025-21502?

Upgrade java to a fixed version for your release line: 1.8.0, 8.0.441, 11.0.26 or 17.0.14.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2025-21502 being exploited?

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

All Debian Debian Linux vulnerabilities

Sources

Also known as ALSA-2025:0422, ALSA-2025:0426, BIT-java-2025-21502, BIT-java-min-2025-21502, BIT-jre-2025-21502, DEBIAN-CVE-2025-21502 and 41 more.

Is CVE-2025-21502 in your software?

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

Check your SBOMs for free