CVE Vulnerabilities

CVE-2024-21012

Incorrect Default Permissions

Published: Apr 16, 2024 | Modified: Nov 13, 2024
CVSS 3.x
N/A
Source:
NVD
CVSS 2.x
RedHat/V2
RedHat/V3
3.7 LOW
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
Ubuntu
MEDIUM

Vulnerability in the Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: Networking). Supported versions that are affected are Oracle Java SE: 11.0.22, 17.0.10, 21.0.2, 22; Oracle GraalVM for JDK: 17.0.10, 21.0.2, 22; Oracle GraalVM Enterprise Edition: 20.3.13 and 21.3.9. 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. 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 3.7 (Integrity impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/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.23 RedHat Linux *
Red Hat Build of OpenJDK 11.0.23 RedHat Windows *
Red Hat Build of OpenJDK 17.0.11 RedHat Linux *
Red Hat Build of OpenJDK 17.0.11 RedHat Windows *
Red Hat Build of OpenJDK 21.0.3 RedHat Linux *
Red Hat Build of OpenJDK 21.0.3 RedHat Windows *
Red Hat Enterprise Linux 7 RedHat java-11-openjdk-1:11.0.23.0.9-2.el7_9 *
Red Hat Enterprise Linux 8 RedHat java-11-openjdk-1:11.0.23.0.9-3.el8 *
Red Hat Enterprise Linux 8 RedHat java-17-openjdk-1:17.0.11.0.9-2.el8 *
Red Hat Enterprise Linux 8 RedHat java-21-openjdk-1:21.0.3.0.9-1.el8 *
Red Hat Enterprise Linux 8.2 Advanced Update Support RedHat java-11-openjdk-1:11.0.23.0.9-2.el8_2 *
Red Hat Enterprise Linux 8.2 Telecommunications Update Service RedHat java-11-openjdk-1:11.0.23.0.9-2.el8_2 *
Red Hat Enterprise Linux 8.2 Update Services for SAP Solutions RedHat java-11-openjdk-1:11.0.23.0.9-2.el8_2 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat java-11-openjdk-1:11.0.23.0.9-2.el8_4 *
Red Hat Enterprise Linux 8.4 Advanced Mission Critical Update Support RedHat java-17-openjdk-1:17.0.11.0.9-1.el8_4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat java-11-openjdk-1:11.0.23.0.9-2.el8_4 *
Red Hat Enterprise Linux 8.4 Telecommunications Update Service RedHat java-17-openjdk-1:17.0.11.0.9-1.el8_4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat java-11-openjdk-1:11.0.23.0.9-2.el8_4 *
Red Hat Enterprise Linux 8.4 Update Services for SAP Solutions RedHat java-17-openjdk-1:17.0.11.0.9-1.el8_4 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat java-11-openjdk-1:11.0.23.0.9-2.el8_6 *
Red Hat Enterprise Linux 8.6 Extended Update Support RedHat java-17-openjdk-1:17.0.11.0.9-1.el8_6 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat java-11-openjdk-1:11.0.23.0.9-3.el8 *
Red Hat Enterprise Linux 8.8 Extended Update Support RedHat java-17-openjdk-1:17.0.11.0.9-2.el8 *
Red Hat Enterprise Linux 9 RedHat java-11-openjdk-1:11.0.23.0.9-3.el9 *
Red Hat Enterprise Linux 9 RedHat java-17-openjdk-1:17.0.11.0.9-2.el9 *
Red Hat Enterprise Linux 9 RedHat java-21-openjdk-1:21.0.3.0.9-1.el9 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat java-11-openjdk-1:11.0.23.0.9-2.el9_0 *
Red Hat Enterprise Linux 9.0 Extended Update Support RedHat java-17-openjdk-1:17.0.11.0.9-1.el9_0 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat java-11-openjdk-1:11.0.23.0.9-3.el9 *
Red Hat Enterprise Linux 9.2 Extended Update Support RedHat java-17-openjdk-1:17.0.11.0.9-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 esm-apps/bionic *
Openjdk-17 Ubuntu focal *
Openjdk-17 Ubuntu jammy *
Openjdk-17 Ubuntu mantic *
Openjdk-18 Ubuntu esm-apps/jammy *
Openjdk-18 Ubuntu jammy *
Openjdk-19 Ubuntu jammy *
Openjdk-19 Ubuntu mantic *
Openjdk-20 Ubuntu mantic *
Openjdk-21 Ubuntu focal *
Openjdk-21 Ubuntu jammy *
Openjdk-21 Ubuntu mantic *
Openjdk-22 Ubuntu mantic *
Openjdk-9 Ubuntu esm-apps/xenial *
Openjdk-lts Ubuntu esm-infra/bionic *
Openjdk-lts Ubuntu focal *
Openjdk-lts Ubuntu jammy *
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