Loop with Unreachable Exit Condition ('Infinite Loop') Affecting xerces-j2-javadoc package, versions <0:2.11.0-17.amzn2.0.2


Severity

Recommended
0.0
medium
0
10

Based on Amazon Linux security rating.

Threat Intelligence

EPSS
0.03% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-AMZN2-XERCESJ2JAVADOC-10079554
  • published9 May 2025
  • disclosed24 Jan 2022

Introduced: 24 Jan 2022

CVE-2022-23437  (opens in a new tab)
CWE-835  (opens in a new tab)

How to fix?

Upgrade Amazon-Linux:2 xerces-j2-javadoc to version 0:2.11.0-17.amzn2.0.2 or higher.
This issue was patched in ALAS2-2024-2649.

NVD Description

Note: Versions mentioned in the description apply only to the upstream xerces-j2-javadoc package and not the xerces-j2-javadoc package as distributed by Amazon-Linux. See How to fix? for Amazon-Linux:2 relevant fixed versions and status.

There's a vulnerability within the Apache Xerces Java (XercesJ) XML parser when handling specially crafted XML document payloads. This causes, the XercesJ XML parser to wait in an infinite loop, which may sometimes consume system resources for prolonged duration. This vulnerability is present within XercesJ version 2.12.1 and the previous versions.

CVSS Base Scores

version 3.1