CVE Vulnerabilities

CVE-2025-21502

Incorrect Authorization

Published: Jan 21, 2025 | Modified: Jun 18, 2025
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
4.8 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

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

The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.

Affected Software

NameVendorStart VersionEnd Version
GraalvmOracle20.3.16 (including)20.3.16 (including)
GraalvmOracle21.3.12 (including)21.3.12 (including)
Graalvm_for_jdkOracle17.0.13 (including)17.0.13 (including)
Graalvm_for_jdkOracle21.0.5 (including)21.0.5 (including)
Graalvm_for_jdkOracle23.0.1 (including)23.0.1 (including)
JdkOracle1.8.0-update431 (including)1.8.0-update431 (including)
JdkOracle11.0.25 (including)11.0.25 (including)
JdkOracle17.0.13 (including)17.0.13 (including)
JdkOracle21.0.5 (including)21.0.5 (including)
JdkOracle23.0.1 (including)23.0.1 (including)
JreOracle1.8.0-update431 (including)1.8.0-update431 (including)
JreOracle11.0.25 (including)11.0.25 (including)
JreOracle17.0.13 (including)17.0.13 (including)
JreOracle21.0.5 (including)21.0.5 (including)
JreOracle23.0.1 (including)23.0.1 (including)
Red Hat Build of OpenJDK 17.0.14RedHatjava-17-openjdk-portable*
Red Hat Build of OpenJDK 17.0.14RedHatjava-17-openjdk-windows*
Red Hat Build of OpenJDK 21.0.6RedHatjava-21-openjdk-portable*
Red Hat Build of OpenJDK 21.0.6RedHatjava-21-openjdk-windows*
Red Hat Enterprise Linux 8RedHatjava-17-openjdk-1:17.0.14.0.7-3.el8*
Red Hat Enterprise Linux 8RedHatjava-21-openjdk-1:21.0.6.0.7-1.el8*
Red Hat Enterprise Linux 8RedHatjava-1.8.0-ibm-1:1.8.0.8.40-1.el8_10*
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update SupportRedHatjava-17-openjdk-1:17.0.14.0.7-1.el8_4*
Red Hat Enterprise Linux 8.4 Telecommunications Update ServiceRedHatjava-17-openjdk-1:17.0.14.0.7-1.el8_4*
Red Hat Enterprise Linux 8.4 Update Services for SAP SolutionsRedHatjava-17-openjdk-1:17.0.14.0.7-1.el8_4*
Red Hat Enterprise Linux 8.6 Advanced Mission Critical Update SupportRedHatjava-17-openjdk-1:17.0.14.0.7-1.el8_6*
Red Hat Enterprise Linux 8.6 Telecommunications Update ServiceRedHatjava-17-openjdk-1:17.0.14.0.7-1.el8_6*
Red Hat Enterprise Linux 8.6 Update Services for SAP SolutionsRedHatjava-17-openjdk-1:17.0.14.0.7-1.el8_6*
Red Hat Enterprise Linux 8.8 Extended Update SupportRedHatjava-17-openjdk-1:17.0.14.0.7-3.el8*
Red Hat Enterprise Linux 9RedHatjava-17-openjdk-1:17.0.14.0.7-2.el9*
Red Hat Enterprise Linux 9RedHatjava-21-openjdk-1:21.0.6.0.7-1.el9*
Red Hat Enterprise Linux 9.0 Update Services for SAP SolutionsRedHatjava-17-openjdk-1:17.0.14.0.7-1.el9_0*
Red Hat Enterprise Linux 9.2 Extended Update SupportRedHatjava-17-openjdk-1:17.0.14.0.7-2.el9*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatjava-17-openjdk-1:17.0.14.0.7-2.el9*
Red Hat Enterprise Linux 9.4 Extended Update SupportRedHatjava-21-openjdk-1:21.0.6.0.7-1.el9*
Red Hat OpenJDK 11 els for RHEL 7RedHatjava-11-openjdk-1:11.0.26.0.4-1.el7_9*
Red Hat OpenJDK 11 els for RHEL 8RedHatjava-11-openjdk-1:11.0.26.0.4-1.el8*
Red Hat OpenJDK 11 els for RHEL 9RedHatjava-11-openjdk-1:11.0.26.0.4-1.el9*
RHINT Camel-K 1.10.9RedHat*
Openjdk-13Ubuntuesm-apps/focal*
Openjdk-13Ubuntufocal*
Openjdk-16Ubuntuesm-apps/focal*
Openjdk-16Ubuntufocal*
Openjdk-17Ubuntuesm-apps/bionic*
Openjdk-17Ubuntuesm-apps/focal*
Openjdk-17Ubuntuesm-apps/jammy*
Openjdk-17Ubuntufocal*
Openjdk-17Ubuntujammy*
Openjdk-17Ubuntunoble*
Openjdk-17Ubuntuoracular*
Openjdk-17-cracUbuntuoracular*
Openjdk-18Ubuntujammy*
Openjdk-21Ubuntuesm-apps/focal*
Openjdk-21Ubuntuesm-apps/jammy*
Openjdk-21Ubuntufocal*
Openjdk-21Ubuntujammy*
Openjdk-21Ubuntunoble*
Openjdk-21Ubuntuoracular*
Openjdk-21-cracUbuntuoracular*
Openjdk-22Ubuntuoracular*
Openjdk-23Ubuntuoracular*
Openjdk-9Ubuntuesm-apps/xenial*
Openjdk-ltsUbuntuesm-apps/noble*
Openjdk-ltsUbuntuesm-infra/bionic*
Openjdk-ltsUbuntuesm-infra/focal*
Openjdk-ltsUbuntufocal*
Openjdk-ltsUbuntujammy*
Openjdk-ltsUbuntunoble*
Openjdk-ltsUbuntuoracular*

Potential Mitigations

  • Divide the product into anonymous, normal, privileged, and administrative areas. Reduce the attack surface by carefully mapping roles with data and functionality. Use role-based access control (RBAC) [REF-229] to enforce the roles at the appropriate boundaries.
  • Note that this approach may not protect against horizontal authorization, i.e., it will not protect a user from attacking others with the same role.
  • Use a vetted library or framework that does not allow this weakness to occur or provides constructs that make this weakness easier to avoid.
  • For example, consider using authorization frameworks such as the JAAS Authorization Framework [REF-233] and the OWASP ESAPI Access Control feature [REF-45].
  • For web applications, make sure that the access control mechanism is enforced correctly at the server side on every page. Users should not be able to access any unauthorized functionality or information by simply requesting direct access to that page.
  • One way to do this is to ensure that all pages containing sensitive information are not cached, and that all such pages restrict access to requests that are accompanied by an active and authenticated session token associated with a user who has the required permissions to access that page.

References