Raw vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:LCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2024-39908 is a medium-severity Uncontrolled Resource Consumption (CWE-400) vulnerability in Ruby-Lang Rexml. Its CVSS base score is 4.3 (Medium).
Operationally, ranked in the top 25% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to SC-5 (Denial-of-service Protection) and SC-6 (Resource Availability) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
REXML, the XML parsing toolkit bundled with Ruby, contains multiple denial-of-service flaws in all gem versions before 3.3.1. The defects are triggered when the parser processes documents containing large numbers of specific characters such as “<”, “0”, and “%>”, causing uncontrolled resource consumption (CWE-400) that can exhaust CPU or memory. The issue received a CVSS 4.3 rating reflecting network attack vectors that require user interaction to initiate parsing.
An attacker who can supply or influence an XML document processed by a vulnerable application can trigger the resource-exhaustion condition, resulting in application slowdown or crash. Because the attack requires the target to parse attacker-controlled input, it is most relevant to services that accept untrusted XML from remote users without prior validation or size limits.
The published advisories from the Ruby core team and the REXML GitHub repository state that the vulnerabilities are resolved in REXML 3.3.2 and later; users who cannot upgrade are advised to stop parsing untrusted XML entirely. Downstream distributors such as Debian have issued corresponding updates, and vendors including NetApp have published impact statements referencing the same remediation guidance. The associated EPSS score remains low (peak 0.0833) with no material post-disclosure increase.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2024-2251
Vulnerability Data
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.1 has some DoS vulnerabilities when it parses an XML that has many specific characters such as `<`, `0` and `%>`. If you need to parse untrusted XMLs, you…
more
many be impacted to these vulnerabilities. The REXML gem 3.3.2 or later include the patches to fix these vulnerabilities. Users are advised to upgrade. Users unable to upgrade should avoid parsing untrusted XML strings.
- CWE(s)
Related Threats
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
SC-5 directly limits the effects of resource-exhaustion events that constitute uncontrolled consumption.
SC-6 enforces explicit allocation limits on resources, structurally preventing the weakness from occurring.
Process isolation confines resource consumption to separate domains, reducing blast radius without stopping the root flaw.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Resource-utilization monitoring and alerting on bottlenecks or overloads limits the impact of denial-of-service or resource-exhaustion attacks.
Hardening callouts derived
DISA STIG baselines are authored against specific weaknesses. Where this CVE cites a broad weakness class, the mapping is not asserted at that abstraction (owner ruling, 2026-09-25: grade only at Base and below), so no rule is shown here rather than a rule shown against the wrong grain.
- No fine-grained STIG row for CWE-400, a class-level weakness. Rules are authored against its narrower children: CWE-770.