CVE-2024-39908

Denial of service in REXML

Published Jul 16, 2024 CVSS 3.1 · 4.3 Medium EPSS 1.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DLA Debian DLA DLA-4018-1 ruby2.7 security update
EUVD EUVD EUVD-2024-2251 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.
Github GHSA Github GHSA GHSA-4xqq-m2hx-25v8 REXML denial of service vulnerability
Ubuntu USN Ubuntu USN USN-7091-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-7256-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-7418-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-7840-1 Ruby vulnerabilities
History
Type Values Removed Values Added
First Time appeared Netapp
Netapp bootstrap Os
Netapp hci Compute Node
CPEs cpe:2.3:h:netapp:hci_compute_node:-:*:*:*:*:*:*:*
cpe:2.3:o:netapp:bootstrap_os:-:*:*:*:*:*:*:*
Vendors & Products Netapp
Netapp bootstrap Os
Netapp hci Compute Node
Type Values Removed Values Added
Metrics epss

{'score': 0.03525}

epss

{'score': 0.03251}

Type Values Removed Values Added
First Time appeared Redhat
Redhat enterprise Linux
CPEs cpe:/a:redhat:enterprise_linux:8
cpe:/a:redhat:enterprise_linux:9
Vendors & Products Redhat
Redhat enterprise Linux
Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 3, 2025, 8:38 PM
Reserved
Jul 2, 2024, 7:37 PM
Status
Modified
Published
Jul 16, 2024, 6:15 PM
Modified
Jun 17, 2026, 7:43 AM
Severity
Moderate
Public date
Jul 16, 2024, 6:00 AM