CVE-2024-43398
REXML denial of service vulnerability
Severity Score
Exploit Likelihood
Affected Versions
Public Exploits
0Exploited in Wild
-Decision
Descriptions
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.6 has a DoS vulnerability when it parses an XML that has many deep elements that have same local name attributes. If you need to parse untrusted XMLs with tree parser API like REXML::Document.new, you may be impacted to this vulnerability. If you use other parser APIs such as stream parser API and SAX2 parser API, this vulnerability is not affected. The REXML gem 3.3.6 or later include the patch to fix the vulnerability.
A vulnerability was found in REXML RubyGems. This package is vulnerable to denial of service (DoS) when parsing a deep XML structure with the same local name attribute. This vulnerability only affects tree parser API like REXML::Document.new, other parser APIs such as stream parser API and SAX2 parser API are not affected.
CVSS Scores
SSVC
- Decision:Track
Timeline
- 2024-08-12 CVE Reserved
- 2024-08-22 CVE Published
- 2024-08-22 CVE Updated
- 2024-08-23 EPSS Updated
- ---------- Exploited in Wild
- ---------- KEV Due Date
- ---------- First Exploit
CWE
- CWE-776: Improper Restriction of Recursive Entity References in DTDs ('XML Entity Expansion')
CAPEC
References (4)
URL | Tag | Source |
---|---|---|
https://github.com/ruby/rexml/releases/tag/v3.3.6 | X_refsource_misc | |
https://github.com/ruby/rexml/security/advisories/GHSA-vmwr-mc7x-5vc3 | X_refsource_confirm |
URL | Date | SRC |
---|
URL | Date | SRC |
---|
URL | Date | SRC |
---|---|---|
https://access.redhat.com/security/cve/CVE-2024-43398 | 2024-09-18 | |
https://bugzilla.redhat.com/show_bug.cgi?id=2307297 | 2024-09-18 |