CVE-2022-21426: Medium severity Oracle GraalVM vulnerability
An unspecified vulnerability in Java SE related to the JAXP component could allow an unauthenticated attacker to cause a denial of service resulting in a low availability impact using unknown attack vectors.
Other sources
It was discovered that the XPath class in the JAXP component in OpenJDK failed to sufficiently limit the amount of memory allocated when compiling a specially crafted XPath expression. This could possibly cause a Java application to exit because of an out of memory (OOM) error if it processed untrusted XPath expressions.
Three new XML processing limits are introduced to the XML libraries as part of the fix:
- jdk.xml.xpathExprGrpLimit limits the number of groups an XPath expression can contain. - jdk.xml.xpathExprOpLimit limits the number of operators an XPath expression can contain. - jdk.xml.xpathTotalOpLimit limits the total number of XPath operators in an XSL Stylesheet.
See the following release notes for Oracle JDK 7u341, 8u331, 11.0.15, 17.0.3, 18.0.1:
https://www.oracle.com/java/technologies/javase/7-support-relnotes.html#JDK-8270504 https://www.oracle.com/java/technologies/javase/8u331-relnotes.html#JDK-8270504 https://www.oracle.com/java/technologies/javase/11-0-15-relnotes.html#JDK-8270504 https://www.oracle.com/java/technologies/javase/17-0-3-relnotes.html#JDK-8270504 https://www.oracle.com/java/technologies/javase/18-0-1-relnotes.html#JDK-8270504
— Red Hat
Vulnerability in the Oracle Java SE, Oracle GraalVM Enterprise Edition product of Oracle Java SE (component: JAXP). Supported versions that are affected are Oracle Java SE: 7u331, 8u321, 11.0.14, 17.0.2, 18; Oracle GraalVM Enterprise Edition: 20.3.5, 21.3.1 and 22.0.0.2. Easily exploitable vulnerability allows unauthenticated attacker with network access via multiple protocols to compromise Oracle Java SE, 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 Enterprise Edition. 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 can also be exploited by using APIs in the specified Component, e.g., through a web service which supplies data to the APIs. CVSS 3.1 Base Score 5.3 (Availability impacts). CVSS Vector: (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L).
Affected Software
Remediation
Patch Available
Event History
Parent advisories
This vulnerability appears in the following advisories.
- RHSA-2022:1439
- RHSA-2022:1436
- RHSA-2022:1437
- RHSA-2022:1438
- RHSA-2022:1492
- RHSA-2022:1440
- RHSA-2022:1487
- RHSA-2023:3136
- RHSA-2022:1442
- RHSA-2022:1445
- RHSA-2022:1491
- RHSA-2022:1444
- RHSA-2022:1488
- RHSA-2022:1443
- RHSA-2022:1489
- RHSA-2022:1441
- RHSA-2022:1490
- RHSA-2022:1728
- RHSA-2022:1729
- RHSA-2022:2137
- RHSA-2022:1435
- IBM-7259901
Frequently Asked Questions
What is CVE-2022-21426?
CVE-2022-21426 is an unspecified vulnerability in Java SE related to the JAXP component that could allow an unauthenticated attacker to exploit it.
What is the severity of CVE-2022-21426?
The severity of CVE-2022-21426 is medium with a CVSS score of 5.3.
Which versions of Oracle Java SE are affected by CVE-2022-21426?
Oracle Java SE versions 7u331, 8u321, 11.0.14, 17.0.2, 18 are affected by CVE-2022-21426.
Which versions of Oracle GraalVM Enterprise Edition are affected by CVE-2022-21426?
Oracle GraalVM Enterprise Edition versions 20.3.5, 21.3.1, and 22.0.0.2 are affected by CVE-2022-21426.
How can I fix CVE-2022-21426?
To fix CVE-2022-21426, update your Oracle Java SE installations to the patched versions provided by Oracle.