CVE-2024-35176

CVE-2024-35176 is a medium-severity vulnerability in Ruby-lang Rexml with a CVSS 3.x base score of 5.3. 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-400.

Key facts

Description

REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.

Frequently asked questions

What is CVE-2024-35176?
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many `<`s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.
How severe is CVE-2024-35176?
CVE-2024-35176 has a CVSS 3.x base score of 5.3, rated medium severity. It is exploitable over network with low attack complexity, requires no privileges and no user interaction. Impact on confidentiality is none, integrity none, and availability low.
Is CVE-2024-35176 being actively exploited?
It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 2% (79th percentile), an estimate of the probability of exploitation in the next 30 days.
What products are affected by CVE-2024-35176?
CVE-2024-35176 affects Ruby-lang Rexml. See the affected-products list for the exact vulnerable versions.
How do I fix CVE-2024-35176?
Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround.
Does CVE-2024-35176 have an EU (EUVD) identifier?
Yes. CVE-2024-35176 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2024-1802.
When was CVE-2024-35176 published?
CVE-2024-35176 was published on 2024-05-16 and last updated on 2026-06-17.

References

Affected products (1)

More vulnerabilities in Ruby-lang Rexml

All CVEs affecting Ruby-lang Rexml →

Other CWE-400 (Uncontrolled Resource Consumption) vulnerabilities

Browse all CWE-400 (Uncontrolled Resource Consumption) vulnerabilities →