CVE Vulnerabilities

CVE-2024-20921

Incorrect Default Permissions

Published: Feb 17, 2024 | Modified: Nov 05, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
5.9 MODERATE
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
Ubuntu
MEDIUM

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: 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 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 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 5.9 (Confidentiality impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N).

Weakness

During installation, installed file permissions are set to allow anyone to modify those files.

Affected Software

Name Vendor Start Version End Version
Red Hat Build of OpenJDK 11.0.22 RedHat Linux *
Red Hat Build of OpenJDK 11.0.22 RedHat Windows *
Red Hat Build of OpenJDK 17.0.10 RedHat Linux *
Red Hat Build of OpenJDK 17.0.10 RedHat Windows *
Red Hat Build of OpenJDK 21.0.2 RedHat Linux *
Red Hat Build of OpenJDK 21.0.2 RedHat Windows *
Red Hat Build of OpenJDK 8u402 RedHat Linux *
Red Hat Build of OpenJDK 8u402 RedHat Windows *
Red Hat Enterprise Linux 7 RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el7_9 *
Red Hat Enterprise Linux 7 RedHat java-11-openjdk-1:11.0.22.0.7-1.el7_9 *
Red Hat Enterprise Linux 7 Supplementary RedHat java-1.8.0-ibm-1:1.8.0.8.20-1jpp.1.el7 *
Red Hat Enterprise Linux 8 RedHat java-21-openjdk-1:21.0.2.0.13-1.el8 *
Red Hat Enterprise Linux 8 RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-2.el8 *
Red Hat Enterprise Linux 8 RedHat java-11-openjdk-1:11.0.22.0.7-2.el8 *
Red Hat Enterprise Linux 8 RedHat java-17-openjdk-1:17.0.10.0.7-2.el8 *
Red Hat Enterprise Linux 8 RedHat java-1.8.0-ibm-1:1.8.0.8.20-1.el8_9 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el8_2 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat java-11-openjdk-1:11.0.22.0.7-1.el8_2 *
Red Hat Enterprise Linux 8.2 Telecommunications Update Service RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el8_2 *
Red Hat Enterprise Linux 8.2 Telecommunications Update Service RedHat java-11-openjdk-1:11.0.22.0.7-1.el8_2 *
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el8_2 *
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions RedHat java-11-openjdk-1:11.0.22.0.7-1.el8_2 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el8_4 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat java-11-openjdk-1:11.0.22.0.7-1.el8_4 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat java-17-openjdk-1:17.0.10.0.7-1.el8_4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el8_4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat java-11-openjdk-1:11.0.22.0.7-1.el8_4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat java-17-openjdk-1:17.0.10.0.7-1.el8_4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el8_4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat java-11-openjdk-1:11.0.22.0.7-1.el8_4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat java-17-openjdk-1:17.0.10.0.7-1.el8_4 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el8_6 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat java-11-openjdk-1:11.0.22.0.7-1.el8_6 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat java-17-openjdk-1:17.0.10.0.7-1.el8_6 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-2.el8 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat java-11-openjdk-1:11.0.22.0.7-2.el8 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat java-17-openjdk-1:17.0.10.0.7-2.el8 *
Red Hat Enterprise Linux 9 RedHat java-21-openjdk-1:21.0.2.0.13-1.el9 *
Red Hat Enterprise Linux 9 RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-2.el9 *
Red Hat Enterprise Linux 9 RedHat java-11-openjdk-1:11.0.22.0.7-2.el9 *
Red Hat Enterprise Linux 9 RedHat java-17-openjdk-1:17.0.10.0.7-2.el9 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-1.el9_0 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat java-11-openjdk-1:11.0.22.0.7-1.el9_0 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat java-17-openjdk-1:17.0.10.0.7-1.el9_0 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat java-1.8.0-openjdk-1:1.8.0.402.b06-2.el9 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat java-11-openjdk-1:11.0.22.0.7-2.el9 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat java-17-openjdk-1:17.0.10.0.7-2.el9 *
Openjdk-13 Ubuntu esm-apps/focal *
Openjdk-13 Ubuntu focal *
Openjdk-16 Ubuntu esm-apps/focal *
Openjdk-16 Ubuntu focal *
Openjdk-17 Ubuntu bionic *
Openjdk-17 Ubuntu esm-apps/bionic *
Openjdk-17 Ubuntu focal *
Openjdk-17 Ubuntu jammy *
Openjdk-17 Ubuntu lunar *
Openjdk-17 Ubuntu mantic *
Openjdk-18 Ubuntu esm-apps/jammy *
Openjdk-18 Ubuntu jammy *
Openjdk-18 Ubuntu lunar *
Openjdk-19 Ubuntu jammy *
Openjdk-19 Ubuntu lunar *
Openjdk-19 Ubuntu mantic *
Openjdk-20 Ubuntu lunar *
Openjdk-20 Ubuntu mantic *
Openjdk-21 Ubuntu focal *
Openjdk-21 Ubuntu jammy *
Openjdk-21 Ubuntu lunar *
Openjdk-21 Ubuntu mantic *
Openjdk-22 Ubuntu mantic *
Openjdk-8 Ubuntu bionic *
Openjdk-8 Ubuntu esm-apps/bionic *
Openjdk-8 Ubuntu esm-infra/xenial *
Openjdk-8 Ubuntu focal *
Openjdk-8 Ubuntu jammy *
Openjdk-8 Ubuntu lunar *
Openjdk-8 Ubuntu mantic *
Openjdk-8 Ubuntu xenial *
Openjdk-9 Ubuntu esm-apps/xenial *
Openjdk-9 Ubuntu xenial *
Openjdk-lts Ubuntu bionic *
Openjdk-lts Ubuntu esm-infra/bionic *
Openjdk-lts Ubuntu focal *
Openjdk-lts Ubuntu jammy *
Openjdk-lts Ubuntu lunar *
Openjdk-lts Ubuntu mantic *

Potential Mitigations

  • Compartmentalize the system to have “safe” areas where trust boundaries can be unambiguously drawn. Do not allow sensitive data to go outside of the trust boundary and always be careful when interfacing with a compartment outside of the safe area.
  • Ensure that appropriate compartmentalization is built into the system design, and the compartmentalization allows for and reinforces privilege separation functionality. Architects and designers should rely on the principle of least privilege to decide the appropriate time to use privileges and the time to drop privileges.

References