CVE-2022-23437
xerces-j2: infinite loop when handling specially crafted XML document payloads
Overview
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.
Source: OX vulnerability database
Severity
6.5 · MEDIUM
CVSS 3.1 base score, scored by NVD.
- Attack vector
- Network
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality
- None
- Integrity
- None
- Availability
- High
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H
Weakness: CWE-835
Affected packages · 2
| Ecosystem | Package | Vulnerable | Fixed in |
|---|---|---|---|
| Maven | xerces:xercesimpl | <2.12.2 | 2.12.2 |
| RubyGems | nokogiri | — | 1.13.4 |
Open a package to see all its vulnerabilities.
Operating systems · 38 fixes
Red Hat 4 releases · 12 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 7 | xerces-j2 +2 | eol | — |
| 7 | rh-maven36-xerces-j2 +2 | wont fix | — |
| 7 | eap7-wildfly-http-client-common +3 | 0:1.1.11-1.SP1_redhat_00001.1.el7eap | RHSA-2022:4918 |
| 7 | eap7-h2database | 0:1.4.197-2.redhat_00004.1.el7eap | RHSA-2022:4918 |
| 7 | eap7-xerces-j2 | 0:2.12.0-3.SP04_redhat_00001.1.el7eap | RHSA-2022:4918 |
| 7 | eap7-jackson-databind | 0:2.12.6.1-1.redhat_00003.1.el7eap | RHSA-2022:4918 |
18 more rows
SUSE Linux Enterprise 1 release · 1 package
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| 12.5 | xerces-j2 +4 | 2.8.1-268.9.1 | SUSE-SU-2022:0542-1 |
debian 6 releases · 1 package
| Release | Package | Fixed in |
|---|---|---|
| 10 | libxerces2-java | affected |
| 11 | libxerces2-java | affected |
| 12 | libxerces2-java | 2.12.2-1 |
| 13 | libxerces2-java | 2.12.2-1 |
| 14 | libxerces2-java | 2.12.2-1 |
| 9 | libxerces2-java | affected |
echo 1 release · 1 package
| Release | Package | Fixed in |
|---|---|---|
| libxerces2-java | 2.12.2-1 |
openSUSE 1 release · 6 packages
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Tumbleweed | ruby3-1-rubygem-nokogiri | 1.13.4-1.1 | openSUSE-SU-2024:11999-1 |
| Tumbleweed | ruby3-2-rubygem-nokogiri | 1.13.9-1.7 | openSUSE-SU-2024:13165-1 |
| Tumbleweed | ruby3-3-rubygem-nokogiri | 1.15.5-1.5 | openSUSE-SU-2024:14174-1 |
| Tumbleweed | ruby3-4-rubygem-nokogiri | 1.18.2-1.1 | openSUSE-SU-2025:14697-1 |
| Tumbleweed | ruby4-0-rubygem-nokogiri | 1.18.9-1.4 | openSUSE-SU-2026:10356-1 |
| Tumbleweed | xerces-j2 +2 | 2.12.2-1.1 | openSUSE-SU-2024:11845-1 |
References
- www.openwall.com http://www.openwall.com/lists/oss-security/2022/01/24/3
- access.redhat.com https://access.redhat.com/security/cve/CVE-2022-23437
- github.com https://github.com/jboss/xerces
- github.com https://github.com/sparklemotion/nokogiri/releases/tag/v1.13.4
- github.com https://github.com/sparklemotion/nokogiri/security/advisories/GHSA-xxx9-3xcr-gjj3
- groups.google.com https://groups.google.com/g/ruby-security-ann/c/vX7qSjsvWis/m/TJWN4oOKBwAJ
- lists.apache.org https://lists.apache.org/thread/6pjwm10bb69kq955fzr1n0nflnjd27dl
- nvd.nist.gov https://nvd.nist.gov/vuln/detail/CVE-2022-23437
- security.netapp.com https://security.netapp.com/advisory/ntap-20221028-0005
- security.netapp.com https://security.netapp.com/advisory/ntap-20221028-0005/
OX Radar and Response Center
Find threats in your stack.
OX Radar can check high-priority threats, like critical package CVEs, against your context.
Each incident is marked Detected or Not Detected with a remediation plan and proof all tracked in the Response Center.