CVE-2024-49761

MEDIUM EPSS 69.7%
Published Oct 28, 20241y ago · Modified Jun 17, 20262w ago
6.6 CVSS 4.0
Medium
Find Similar
Published Oct 28, 2024 1y ago
Last Modified Jun 17, 2026 2w ago

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.

CVSS Details

Base Score
6.6
Exploitability
Impact
Vector string
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
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction None
Scope X

Threat Intelligence

EPSS Exploit Probability
69.7% percentile
Exploit & Patch Status
No Known Exploit
Patch Available

Weaknesses 1

CWE-1333

Affected Products 3

VendorProductVersionRange
ruby-langrexml* <3.3.9
ruby-langruby* <3.2.0
netappontap_tools10any

References 5

  • github.com https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f
    Patch
  • github.com https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m
    Third Party Advisory
  • lists.debian.org https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html
  • security.netapp.com https://security.netapp.com/advisory/ntap-20241227-0004/
    Third Party Advisory
  • ruby-lang.org https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761
    Vendor Advisory

Remediation

  • github.com https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f
    Patch