Skip to main content
Public proof of conceptFix available

CVE-2024-39908

A public proof of concept exists; no exploitation attested.

  • Published2024-07-16
  • WeaknessCWE-400

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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 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.

Timeline

dates in UTC
  1. 2024-07-1618:15CVE publishedNVD
  2. 2026-10-2319:23First public proof of conceptPoC-in-GitHub

Versions per branch

NVD · CISA-ADP · OSV
Netapp bootstrap osversion to verify
BranchAffectedFixed in
—all versionsno fix published
Ruby-lang rexml
BranchAffectedFixed in
3.3< 3.3.23.3.2

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Products declared by the CNA1 product

As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.

  • ruby rexml
    Affected
    • = < 3.3.2no fix stated

Source: the CNA record (CVE Program), © The MITRE Corporation,CVE Terms of UseCVE recordupdated 2024-07-16

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • jrubyUbuntu:Pro:14.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:26.10all versions · no fixed version listed
  • jrubyUbuntu:26.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:25.10all versions · no fixed version listed
  • jrubyUbuntu:24.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:20.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:18.04:LTSall versions · no fixed version listed
  • jrubyUbuntu:16.04:LTSall versions · no fixed version listed

263 more package ranges on OSV.dev

Vendor advisories

  • CVE-2024-39908 Red Hat Product Security558 products fixed · 81 known affected

    rexml: DoS vulnerability in REXML

    3scale-amp2/backend-rhel8 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/system-rhel7 as a component of Red Hat 3scale API Management Platform 2 · 3scale-amp2/toolbox-rhel8 as a component of Red Hat 3scale API Management Platform 2 · +78 more

  • RHSA-2025:4488 Red Hat Product Security133 products fixed

    Red Hat Security Advisory: ruby:3.1 security update

  • RHSA-2025:4063 Red Hat Product Security136 products fixed

    Red Hat Security Advisory: ruby:3.1 security update

  • RHSA-2024:6784 Red Hat Product Security146 products fixed

    Red Hat Security Advisory: ruby:3.3 security update

  • RHSA-2024:6785 Red Hat Product Security143 products fixed

    Red Hat Security Advisory: ruby:3.3 security update

Full record on NVD

Fix

  1. Vendor fix Red Hat Product Security RHSA-2025:4488 · 133 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
  2. Workaround from the vendor Red Hat Product Security RHSA-2025:4488 · 133 productsMitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base or stability.
  3. No fix available, says the vendor Red Hat Product Security CVE-2024-39908 · 23 productsFix deferred
  4. No fix planned, says the vendor Red Hat Product Security CVE-2024-39908 · 7 productsOut of support scope
  5. No fix planned, says the vendor Red Hat Product Security CVE-2024-39908 · 51 productsWill not fix

Advisories and patches

Detection

read 2026-11-01 01:02 UTC
Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
Published
2024-07-16
Last Modified
2026-06-17
NVD status
Modified
GitHub Advisory
GHSA-4xqq-m2hx-25v8

Frequently asked questions

What is CVE-2024-39908?

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 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.

Is CVE-2024-39908 actively exploited?

Active exploitation of CVE-2024-39908 has not been confirmed. Its EPSS score was 1.5% on 2026-11-18, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2024-39908?

CVE-2024-39908 has a CVSS v3 base score of 4.3 (MEDIUM severity), with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L.

Running rexml? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website lookups · 250 API requests/month

Sources for this record