CVE-2024-39908
A public proof of concept exists; no exploitation attested.
- Published2024-07-16
- WeaknessCWE-400
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2024-07-1618:15CVE publishedNVD
- 2026-10-2319:23First public proof of conceptPoC-in-GitHub
Versions per branch
NVD · CISA-ADP · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| — | all versions | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 3.3 | < 3.3.2 | 3.3.2 | NVD · CISA-ADP · OSV |
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 rexmlAffected
- = < 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
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
Red Hat Security Advisory: ruby:3.1 security update
Red Hat Security Advisory: ruby:3.1 security update
Red Hat Security Advisory: ruby:3.3 security update
Red Hat Security Advisory: ruby:3.3 security update
Fix
- 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
- 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.
- No fix available, says the vendor Red Hat Product Security CVE-2024-39908 · 23 productsFix deferred
- No fix planned, says the vendor Red Hat Product Security CVE-2024-39908 · 7 productsOut of support scope
- No fix planned, says the vendor Red Hat Product Security CVE-2024-39908 · 51 productsWill not fix
Advisories and patches
- github.comVendor Advisory
- www.ruby-lang.orgVendor Advisory
Detection
read 2026-11-01 01:02 UTC- Nuclei template
- none so far ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- PoC-in-GitHub1 repository, unverifiedknown since 2026-11-01SpiralBL0CK/CVE-2024-39908
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- CISA-ADPSSVC decisionnone2024-07-16
- CNACVSS 3.14.3known since 2026-10-23
- CNAweakness (CWE)CWE-400known since 2026-10-23
- FIRST EPSSEPSS score1.5 %2026-11-18
- PoC-in-GitHubproof of concept1known since 2026-11-01
- OSVaffected packages—
- GitHub AdvisoriesadvisoryMODERATE2024-07-16
Identifiers
- AZL-45429same flawAzure Linux · MIT
- AZL-45435same flawAzure Linux · MIT
- AZL-45439same flawAzure Linux · MIT
- AZL-45769same flawAzure Linux · MIT
- CGA-35mq-4fj2-wwh5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-3755-8xpc-86frsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-3gjr-854w-g28csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-46f3-rp84-xqwhsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-52g6-xr5w-8f2gsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-52jx-36x2-g956same flawChainguard · CC-BY-NC-ND-4.0
- CGA-544x-4f8h-xrv8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-55xj-qp4x-9rx8same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5ccf-8f84-j4qcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5rvw-f8cc-wj4csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-5vv8-hm7g-3572same flawChainguard · CC-BY-NC-ND-4.0
- CGA-5wgw-w7p8-wjq5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-689m-w479-52pcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-6m68-p39f-5mx4same flawChainguard · CC-BY-NC-ND-4.0
- CGA-6wx3-r83c-9hf7same flawChainguard · CC-BY-NC-ND-4.0
- CGA-7xr5-cjj6-pg74same flawChainguard · CC-BY-NC-ND-4.0
- CGA-93qw-6cjg-5j2psame flawChainguard · CC-BY-NC-ND-4.0
- CGA-9m3x-9wmw-53g3same flawChainguard · CC-BY-NC-ND-4.0
- CGA-9wpp-fjp8-5qr5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-c563-fc3r-pfxjsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-c5ww-w686-7v5rsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-cmj4-3895-9cv5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-cw4p-rmj6-8rjvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f6fg-hmg2-j5hgsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-f84m-5mp2-443hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-fvr5-hwfm-fvg5same flawChainguard · CC-BY-NC-ND-4.0
- CGA-g27w-6rq5-qwjcsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-gx7w-w2h5-p2rrsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-h2c7-2xqj-j477same flawChainguard · CC-BY-NC-ND-4.0
- CGA-h5wq-9frg-3q3hsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-hp87-5c9j-j994same flawChainguard · CC-BY-NC-ND-4.0
- CGA-j64w-vwgj-wx79same flawChainguard · CC-BY-NC-ND-4.0
- CGA-jmr7-93pp-g5pvsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p263-5jfg-5388same flawChainguard · CC-BY-NC-ND-4.0
- CGA-p6w5-wq84-328jsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-p7rx-3rxj-2c5fsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pgf7-r7ph-2g7msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-pgj4-v2fw-jhp9same flawChainguard · CC-BY-NC-ND-4.0
- CGA-pvcw-gf9p-4965same flawChainguard · CC-BY-NC-ND-4.0
- CGA-r7g8-qp4g-m64csame flawChainguard · CC-BY-NC-ND-4.0
- CGA-rwrc-6xjf-xfxmsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v5jc-hr77-9vjwsame flawChainguard · CC-BY-NC-ND-4.0
- CGA-v92v-844f-4f53same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vqr9-g9wf-848msame flawChainguard · CC-BY-NC-ND-4.0
- CGA-vw3x-cmhp-3g59same flawChainguard · CC-BY-NC-ND-4.0
- CGA-vw92-frmj-v99psame flawChainguard · CC-BY-NC-ND-4.0
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?
Is CVE-2024-39908 actively exploited?
What is the CVSS score for CVE-2024-39908?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2026-97229KEVsame productInteger Overflow or Wraparound in GitLab
- CVE-2021-28965same product
- CVE-2023-28755same product
- CVE-2024-27280same product
- CVE-2024-35176same product
- CVE-2023-36617same product
- CVE-2024-27281same productruby: RCE vulnerability with .rdoc_options in RDoc
- CVE-2024-49761same product
Sources for this record
- CVE Program · CVE Program Terms of Use
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4xqq-m2hx-25v8
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0