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: 8u401, 8u401-perf, 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 ability to cause a partial denial of service (partial DOS) of Oracle Java SE, Oracle GraalVM for JDK, Oracle GraalVM Enterprise Edition. 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 3.7 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:L).
The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor.
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 Build of OpenJDK 8u412 | RedHat | Linux | * |
Red Hat Build of OpenJDK 8u412 | RedHat | Windows | * |
Red Hat Enterprise Linux 7 | RedHat | java-1.8.0-openjdk-1:1.8.0.412.b08-1.el7_9 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-2.el8 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-1.el8_2 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-1.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-1.8.0-openjdk-1:1.8.0.412.b08-1.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-1.8.0-openjdk-1:1.8.0.412.b08-1.el8_4 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-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-1.8.0-openjdk-1:1.8.0.412.b08-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-1.8.0-openjdk-1:1.8.0.412.b08-1.el8_6 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-2.el8 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-2.el9 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-1.el9_0 | * |
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-1.8.0-openjdk-1:1.8.0.412.b08-2.el9 | * |
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-8 | Ubuntu | devel | * |
Openjdk-8 | Ubuntu | esm-apps/bionic | * |
Openjdk-8 | Ubuntu | esm-infra/xenial | * |
Openjdk-8 | Ubuntu | focal | * |
Openjdk-8 | Ubuntu | jammy | * |
Openjdk-8 | Ubuntu | mantic | * |
Openjdk-8 | Ubuntu | noble | * |
Openjdk-8 | Ubuntu | oracular | * |
Openjdk-9 | Ubuntu | esm-apps/xenial | * |
Openjdk-lts | Ubuntu | esm-infra/bionic | * |
Openjdk-lts | Ubuntu | focal | * |
Openjdk-lts | Ubuntu | jammy | * |
Openjdk-lts | Ubuntu | mantic | * |
Code frequently has to work with limited resources, so programmers must be careful to ensure that resources are not consumed too quickly, or too easily. Without use of quotas, resource limits, or other protection mechanisms, it can be easy for an attacker to consume many resources by rapidly making many requests, or causing larger resources to be used than is needed. When too many resources are allocated, or if a single resource is too large, then it can prevent the code from working correctly, possibly leading to a denial of service.
Assume all input is malicious. Use an “accept known good” input validation strategy, i.e., use a list of acceptable inputs that strictly conform to specifications. Reject any input that does not strictly conform to specifications, or transform it into something that does.
When performing input validation, consider all potentially relevant properties, including length, type of input, the full range of acceptable values, missing or extra inputs, syntax, consistency across related fields, and conformance to business rules. As an example of business rule logic, “boat” may be syntactically valid because it only contains alphanumeric characters, but it is not valid if the input is only expected to contain colors such as “red” or “blue.”
Do not rely exclusively on looking for malicious or malformed inputs. This is likely to miss at least one undesirable input, especially if the code’s environment changes. This can give attackers enough room to bypass the intended validation. However, denylists can be useful for detecting potential attacks or determining which inputs are so malformed that they should be rejected outright.
Mitigation of resource exhaustion attacks requires that the target system either:
The first of these solutions is an issue in itself though, since it may allow attackers to prevent the use of the system by a particular valid user. If the attacker impersonates the valid user, they may be able to prevent the user from accessing the server in question.
The second solution can be difficult to effectively institute – and even when properly done, it does not provide a full solution. It simply requires more resources on the part of the attacker.
If the program must fail, ensure that it fails gracefully (fails closed). There may be a temptation to simply let the program fail poorly in cases such as low memory conditions, but an attacker may be able to assert control before the software has fully exited. Alternately, an uncontrolled failure could cause cascading problems with other downstream components; for example, the program could send a signal to a downstream process so the process immediately knows that a problem has occurred and has a better chance of recovery.
Ensure that all failures in resource allocation place the system into a safe posture.
Use resource-limiting settings provided by the operating system or environment. For example, when managing system resources in POSIX, setrlimit() can be used to set limits for certain types of resources, and getrlimit() can determine how many resources are available. However, these functions are not available on all operating systems.
When the current levels get close to the maximum that is defined for the application (see CWE-770), then limit the allocation of further resources to privileged users; alternately, begin releasing resources for less-privileged users. While this mitigation may protect the system from attack, it will not necessarily stop attackers from adversely impacting other users.
Ensure that the application performs the appropriate error checks and error handling in case resources become unavailable (CWE-703).