{"id":"CVE-2024-49761","aliases":["CVE-2024-49761","GHSA-2rxp-v6pw-ch6m"],"related":["CVE-2025-10990"],"kind":"vulnerability","state":"published","title":"REXML ReDoS vulnerability","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nThe 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...;`).\n\nThis does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. Note that Ruby 3.1 will reach EOL on 2025-03.\n\n### Patches\n\nThe REXML gem 3.3.9 or later include the patch to fix the vulnerability.\n\n### Workarounds\n\nUse Ruby 3.2 or later instead of Ruby 3.1.\n\n### References\n\n* https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761/: An announce on www.ruby-lang.org","format":"markdown","source":"ghsa"},{"lang":"es","text":"REXML es un conjunto de herramientas XML para Ruby. La gema REXML anterior a la versión 3.3.9 tiene una vulnerabilidad ReDoS cuando analiza un XML que tiene muchos dígitos entre &amp;# y x...; en una referencia de carácter numérico hexadecimal (&amp;#x...;). Esto no sucede con Ruby 3.2 o posterior. Ruby 3.1 es el único Ruby afectado que se mantiene. La gema REXML 3.3.9 o posterior incluye el parche para corregir la vulnerabilidad.","source":"nvd"}],"published":"2024-10-28T14:10:18.000Z","modified":"2026-09-10T03:50:19.086Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.6,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":6.6,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","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","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-1333"],"affected":[{"ranges":[{"version":"< 3.3.9","status":"affected"}],"vendor":"ruby","product":"rexml","source":"cvelist"},{"ranges":[{"type":"custom","introduced":"0","fixed":"3.3.9","status":"affected"}],"vendor":"ruby","product":"rexml","cpe":"cpe:2.3:a:ruby:rexml:*:*:*:*:*:*:*:*","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"3.3.9"}],"ecosystem":"RubyGems","package":"rexml","purl":"pkg:gem/rexml","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.3.9"}],"vendor":"ruby-lang","product":"rexml","cpe":"cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10"}],"vendor":"netapp","product":"ontap_tools","cpe":"cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:*","source":"nvd"}],"references":[{"url":"https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m","tags":["third-party-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f","tags":["patch","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761","tags":["vendor-advisory","web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://security.netapp.com/advisory/ntap-20241227-0004/","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html","tags":["web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49761","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/ruby/rexml","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/rubysec/ruby-advisory-db/blob/master/gems/rexml/CVE-2024-49761.yml","tags":["web"],"sources":["ghsa"]},{"url":"https://security.netapp.com/advisory/ntap-20241227-0004","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2024-10-28T14:57:03.712Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-49761","url":"https://www.cve.org/CVERecord?id=CVE-2024-49761","licence":"CVE Terms of Use","modified":"2025-11-03T20:41:10.439Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-2rxp-v6pw-ch6m","url":"https://github.com/advisories/GHSA-2rxp-v6pw-ch6m","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:19.086Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-49761","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-49761","licence":"Public domain","modified":"2026-06-17T08:00:23.947Z"}],"updatedAt":"2026-11-25T22:58:47.396Z","epss":{"score":0.0142,"percentile":0.73618,"date":"2026-12-01T12:00:22.000Z"}}