First published: Mon Oct 28 2024(Updated: )
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.
Affected Software | Affected Version | How to fix |
---|---|---|
Ruby REXML | <3.3.9 | |
Ruby | >3.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of REDHAT-BUG-2322153 is categorized as a ReDoS vulnerability that can affect system performance when parsing certain XML structures.
To fix REDHAT-BUG-2322153, upgrade the REXML gem to version 3.3.9 or later, or switch to Ruby version 3.2 or newer.
Ruby versions prior to 3.3.9 and Ruby 3.1 are affected by REDHAT-BUG-2322153.
REXML is an XML parsing toolkit for Ruby, which is vulnerable to ReDoS in specific conditions as described in REDHAT-BUG-2322153.
Yes, using Ruby version 3.2 or later will help you avoid the ReDoS vulnerability outlined in REDHAT-BUG-2322153.