ADVISORIES

Ubuntu CVE Tracker

UBUNTU-CVE-2024-49761

Details

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 packages

EcosystemPackageAffected versions
Ubuntu:Pro:16.04:LTSruby2.3
All versions before 2.3.1-2~ubuntu16.04.16+esm10 (fixed in 2.3.1-2~ubuntu16.04.16+esm10)
Ubuntu:Pro:18.04:LTSruby2.5
All versions before 2.5.1-1ubuntu1.16+esm4 (fixed in 2.5.1-1ubuntu1.16+esm4)
Ubuntu:20.04:LTSruby2.7
All versions before 2.7.0-5ubuntu1.15 (fixed in 2.7.0-5ubuntu1.15)
Ubuntu:22.04:LTSruby3.0
All versions before 3.0.2-7ubuntu2.8 (fixed in 3.0.2-7ubuntu2.8)
Ubuntu:24.04:LTSruby3.2
All versions before 3.2.3-1ubuntu0.24.04.3 (fixed in 3.2.3-1ubuntu0.24.04.3)

References