Denial of service in REXML
Summary
Denial of service in REXML
Original description
The description as published by the source.
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as <, 0 and %>. If you need to parse untrusted XMLs, you many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.
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-39908 ruby-rexml Fixed in: 3.3.9-r0
- BellSoft Alpaquita BELL-CVE-2024-39908 ruby-rexml Fixed in: 3.4.4-r0
- Debian DEBIAN-CVE-2024-39908 ruby2.7 Fixed in: 2.7.4-1+deb11u3
- Ubuntu UBUNTU-CVE-2024-39908 jruby
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory security.netapp.com
- web lists.debian.org
- web ruby-lang.org