REXML ReDoS vulnerability
Summary
REXML ReDoS vulnerability
Original description
The description as published by the source.
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 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-49761 ruby-rexml Fixed in: 3.3.9-r0
- Debian DEBIAN-CVE-2024-49761 ruby2.7 Fixed in: 2.7.4-1+deb11u3
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- advisory security.netapp.com
- patch github.com
- web lists.debian.org
- web ruby-lang.org