Vulnerability · Published Jan 24, 2022 · Assigned by apache
CVE-2022-23437Infinite loop within Apache XercesJ xml parser
Medium 6.5
In plain English
A medium-severity security flaw in Apache Xerces from Apache Software Foundation. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 11.6% (higher than 96% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Severity (CVSS NVD)6.5Medium
Exploit odds (30 days)11.6%top 3.9% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | libxerces2-java | 2.12.2-1 | DEBIAN-CVE-2022-23437 |
| Debian:13 | libxerces2-java | 2.12.2-1 | DEBIAN-CVE-2022-23437 |
| Debian:14 | libxerces2-java | 2.12.2-1 | DEBIAN-CVE-2022-23437 |
| Maven | xerces:xercesImpl | 2.12.2 | GHSA-h65f-jvqw-m9fj |
| Ubuntu:22.04:LTS | libxerces2-java | no fix listed | UBUNTU-CVE-2022-23437 |
| Ubuntu:24.04:LTS | libxerces2-java | no fix listed | UBUNTU-CVE-2022-23437 |
| Ubuntu:25.10 | libxerces2-java | no fix listed | UBUNTU-CVE-2022-23437 |
| Ubuntu:26.04:LTS | libxerces2-java | no fix listed | UBUNTU-CVE-2022-23437 |
| Ubuntu:26.10 | libxerces2-java | no fix listed | UBUNTU-CVE-2022-23437 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| Apache Software Foundation | Apache Xerces | Apache XercesJ – through 2.12.1 |
References
- https://lists.apache.org/thread/6pjwm10bb69kq955fzr1n0nflnjd27dl
- [oss-security] 20220124 CVE-2022-23437: Infinite loop within Apache XercesJ xml parser mailing-list
- https://www.oracle.com/security-alerts/cpuapr2022.html
- https://www.oracle.com/security-alerts/cpujul2022.html
- https://security.netapp.com/advisory/ntap-20221028-0005/