CVE-2024-49761: REXML is an XML toolkit for Ruby
CVE-2024-49761 is a high-severity flaw (CVSS 7.5) affecting rexml, ontap tools. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- High severity
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.5 (High) |
| Attack vector | Network (remote) |
| Attack complexity | Low |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 1.4% (top 27%) |
| CISA exploited list | No |
| Weakness | CWE-1333 |
| Published | 2024-10-28 |
| Last modified | 2026-06-17 |
Last updated 2026-06-17 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2024-49761?
rexml: upgrade to 3.3.9; ontap tools: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2024-49761 being exploited?
CVE-2024-49761 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2024-49761 affect?
CVE-2024-49761 affects rexml, ontap tools. Severity is high (CVSS 7.5). 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 lat
How urgent is CVE-2024-49761?
Priority 49/100. High severity; Remotely exploitable, no login, no user action
Software pages
Related CVEs
- CVE-2024-43398 MEDIUM 5.9 UPGRADE MITIGATE REXML is an XML toolkit for Ruby
- CVE-2024-41946 MEDIUM 5.3 UPGRADE REXML is an XML toolkit for Ruby
- CVE-2024-41123 MEDIUM 5.3 UPGRADE REXML is an XML toolkit for Ruby
- CVE-2024-39908 MEDIUM 4.3 UPGRADE MITIGATE REXML is an XML toolkit for Ruby
- CVE-2024-35176 MEDIUM 5.3 UPGRADE REXML is an XML toolkit for Ruby