CVE-2024-49761
"REXML XML Toolkit 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.
INFO
Published Date :
Oct. 28, 2024, 3:15 p.m.
Last Modified :
Nov. 5, 2024, 4:41 p.m.
Source :
[email protected]
Remotely Exploitable :
Yes !
Impact Score :
3.6
Exploitability Score :
3.9
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2024-49761
.
URL | Resource |
---|---|
https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f | Patch |
https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m | Third Party Advisory |
https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761 | Vendor Advisory |
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2024-49761
vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2024-49761
vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
Initial Analysis by [email protected]
Nov. 05, 2024
Action Type Old Value New Value Added CVSS V3.1 NIST AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H Changed Reference Type https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f No Types Assigned https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f Patch Changed Reference Type https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m No Types Assigned https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m Third Party Advisory Changed Reference Type https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761 No Types Assigned https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761 Vendor Advisory Added CPE Configuration OR *cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:* versions up to (excluding) 3.3.9 -
CVE Received by [email protected]
Oct. 28, 2024
Action Type Old Value New Value Added 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. Added Reference GitHub, Inc. https://github.com/ruby/rexml/security/advisories/GHSA-2rxp-v6pw-ch6m [No types assigned] Added Reference GitHub, Inc. https://github.com/ruby/rexml/commit/ce59f2eb1aeb371fe1643414f06618dbe031979f [No types assigned] Added Reference GitHub, Inc. https://www.ruby-lang.org/en/news/2024/10/28/redos-rexml-cve-2024-49761 [No types assigned] Added CWE GitHub, Inc. CWE-1333 Added CVSS V4.0 GitHub, Inc. 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
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2024-49761
is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2024-49761
weaknesses.