XXE in Ruby Rexml

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 REXM…

EPSS: 0.012 (79.0th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2024-43398?
CVE-2024-43398 is a medium-severity vulnerability in Ruby Rexml, classified under Improper Restriction of Recursive Entity References in DTDs (XML Entity Expansion). CVSS score: 5.9/10. Published 2024-08-22.
How severe is CVE-2024-43398?
Medium severity. CVSS v3 base score is 5.9 out of 10.
Is CVE-2024-43398 known to be exploited?
4 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.