REXML denial of service vulnerability
Summary
REXML denial of service vulnerability
Original description
The description as published by the source.
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.
Source: OSV.dev (Open Source Vulnerabilities) NVD GitHub Advisory OSV
Fix status by distribution
Fixed packages published by each distribution for this CVE
- Alpine Linux ALPINE-CVE-2024-43398 ruby-rexml Fixed in: 3.3.9-r0
- Debian DEBIAN-CVE-2024-43398 ruby2.7 Fixed in: 2.7.4-1+deb11u3
- Ubuntu UBUNTU-CVE-2024-43398 ruby2.3
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory security.netapp.com
- web github.com
- web lists.debian.org