CVE-2024-43398

CVE-2024-43398 is a medium-severity vulnerability in Ruby-lang Rexml with a CVSS 3.x base score of 5.9. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-776.

Key facts

Description

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.

Frequently asked questions

What is CVE-2024-43398?
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.
How severe is CVE-2024-43398?
CVE-2024-43398 has a CVSS 3.x base score of 5.9, rated medium severity. It is exploitable over network with high attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability high.
Is CVE-2024-43398 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 1% (65th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-43398?
CVE-2024-43398 primarily affects Ruby-lang Rexml. In total, 2 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
How do I fix CVE-2024-43398?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-43398 have an EU (EUVD) identifier?
Yes. CVE-2024-43398 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-2666.
When was CVE-2024-43398 published?
CVE-2024-43398 was published on 2024-08-22 and last updated on 2026-06-17.

References

Affected products (2)

More vulnerabilities in Ruby-lang Rexml

All CVEs affecting Ruby-lang Rexml →

Other CWE-776 vulnerabilities

Browse all CWE-776 vulnerabilities →