CVE-2024-49761Ruby-lang Rexml
Medium 6.6 No auth needed
Follow: this CVE · Ruby-lang · Ruby-lang Rexml We alert you by email or Slack (account required).
- Priority
- 55
- CVSS 4.0
- 6.6
- EPSS
- 1.4% probability of exploitation in 30 days · percentile 73
- Auth required
- No
- Published
- Oct 28, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-1333
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
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/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for Rexml.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| RubyGems | rexml |
< 3.3.9 |
3.3.9 |
gem "rexml", ">= 3.3.9" |
Per OSV / GitHub Advisories (GHSA-2rxp-v6pw-ch6m). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| ruby-lang | rexml | < 3.3.9 |
| netapp | ontap_tools | 10 |
Official advisories
- Security update for ruby2.5 · SUSE · SUSE-SU-2026:5416-1 · Nov 23, 2026 High
- Security update for ruby2.5 · SUSE · SUSE-SU-2026:1066-1 · Mar 26, 2026 Medium
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Third Party Advisory
- www.ruby-lang.org Vendor Advisory
- lists.debian.org
- security.netapp.com Third Party Advisory