CVE-2024-49761
REXML ReDoS vulnerability
7.5
HIGH
CVSS 3.1
EPSS 1.6%
Description
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.
How to fix CVE-2024-49761
To remediate CVE-2024-49761, upgrade the affected package to a fixed version below.
- —upgrade to 3.3.9-r0 or later
- —upgrade to 2.7.4-1+deb11u3 or later
- —no fix listed
- —upgrade to 3.3.6-1 or later
- —upgrade to 3.3.9 or later
Is CVE-2024-49761 being exploited?
Low — EPSS is 1.6%, meaning exploitation activity has not been observed at scale.
Affected packages (5)
- from 0, < 3.3.9-r0
- from 0, < 2.7.4-1+deb11u3
- from 0
- from 0, < 3.3.6-1
- from 0, < 3.3.9
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 4.0 | — | CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U |
| osv | CVSS 3.1 | HIGH7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H |