{"id":"CVE-2024-49761","state":"PUBLISHED","title":"REXML ReDoS vulnerability","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.","publishedAt":"2024-10-28T14:10:23.212Z","updatedAt":"2025-11-03T20:41:10.439Z","severity":{"score":6.6,"label":"Medium","version":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["ruby rexml"],"affected":[{"vendor":"ruby","product":"rexml","versions":[{"version":"< 3.3.9","status":"affected"}]}],"references":["https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m","https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f","https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761","https://security.netapp.com/advisory/ntap-20241227-0004/","https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html"],"weaknesses":["CWE-1333"],"ingestedAt":"2026-10-29T20:07:56.516Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/49xxx/CVE-2024-49761.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2024-49761","state":"PUBLISHED","datePublished":"2024-10-28T14:10:23.212Z","dateUpdated":"2025-11-03T20:41:10.439Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-10-18T13:43:23.455Z"},"containers":{"cna":{"title":"REXML ReDoS vulnerability","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"ruby","product":"rexml","versions":[{"version":"< 3.3.9","status":"affected"}]}],"references":[{"url":"https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m","name":"https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f","name":"https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f","tags":["x_refsource_MISC"]},{"url":"https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761","name":"https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"NONE","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"NONE","vulnAvailabilityImpact":"HIGH","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":6.6,"baseSeverity":"MEDIUM","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1333","lang":"en","description":"CWE-1333: Inefficient Regular Expression Complexity","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-10-28T14:10:23.212Z"},"source":{"advisory":"GHSA-2rxp-v6pw-ch6m","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"ruby","product":"rexml","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"3.3.9","versionType":"custom"}],"cpes":["cpe:2.3:a:ruby:rexml:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-10-28T14:57:03.712021Z","id":"CVE-2024-49761","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-10-28T14:58:24.116Z"}},{"title":"CVE Program Container","references":[{"url":"https://security.netapp.com/advisory/ntap-20241227-0004/"},{"url":"https://lists.debian.org/debian-lts-announce/2025/01/msg00011.html"}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2025-11-03T20:41:10.439Z"}}]}}}