REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.
Advisories
Source ID Title
Debian DLA Debian DLA DLA-4018-1 ruby2.7 security update
EUVD EUVD EUVD-2024-2910 REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.
Github GHSA Github GHSA GHSA-2rxp-v6pw-ch6m REXML ReDoS vulnerability
Ubuntu USN Ubuntu USN USN-7091-1 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-7091-2 Ruby vulnerabilities
Ubuntu USN Ubuntu USN USN-7442-1 Ruby vulnerabilities
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 04 Nov 2025 06:30:00 +0900

Type Values Removed Values Added
References

Wed, 16 Jul 2025 22:45:00 +0900

Type Values Removed Values Added
Metrics epss

{'score': 0.00664}

epss

{'score': 0.00542}


Mon, 14 Jul 2025 22:45:00 +0900

Type Values Removed Values Added
Metrics epss

{'score': 0.00473}

epss

{'score': 0.00664}


Sat, 12 Jul 2025 22:45:00 +0900

Type Values Removed Values Added
Metrics epss

{'score': 0.00386}

epss

{'score': 0.00473}


Sat, 22 Mar 2025 02:00:00 +0900

Type Values Removed Values Added
First Time appeared Netapp
Netapp ontap Tools
Ruby-lang ruby
CPEs cpe:2.3:a:netapp:ontap_tools:10:*:*:*:*:vmware_vsphere:*:*
cpe:2.3:a:ruby-lang:ruby:*:*:*:*:*:*:*:*
Vendors & Products Netapp
Netapp ontap Tools
Ruby-lang ruby

Tue, 31 Dec 2024 23:45:00 +0900

Type Values Removed Values Added
Metrics threat_severity

Important

threat_severity

Moderate


Sat, 28 Dec 2024 01:45:00 +0900

Type Values Removed Values Added
References

Sat, 14 Dec 2024 11:15:00 +0900

Type Values Removed Values Added
First Time appeared Redhat rhel Tus
CPEs cpe:/a:redhat:rhel_aus:8.4
cpe:/a:redhat:rhel_aus:8.6
cpe:/a:redhat:rhel_e4s:8.4
cpe:/a:redhat:rhel_e4s:8.6
cpe:/a:redhat:rhel_tus:8.4
cpe:/a:redhat:rhel_tus:8.6
Vendors & Products Redhat rhel Tus

Fri, 13 Dec 2024 11:15:00 +0900

Type Values Removed Values Added
First Time appeared Redhat rhel Aus
CPEs cpe:/a:redhat:rhel_aus:8.2
Vendors & Products Redhat rhel Aus

Thu, 12 Dec 2024 23:45:00 +0900

Type Values Removed Values Added
CPEs cpe:/a:redhat:rhel_e4s:9.0

Thu, 12 Dec 2024 11:30:00 +0900

Type Values Removed Values Added
First Time appeared Redhat rhel Eus
CPEs cpe:/a:redhat:rhel_eus:8.8
cpe:/a:redhat:rhel_eus:9.2
cpe:/a:redhat:rhel_eus:9.4
Vendors & Products Redhat rhel Eus

Sat, 07 Dec 2024 11:45:00 +0900

Type Values Removed Values Added
CPEs cpe:/a:redhat:enterprise_linux:9

Fri, 06 Dec 2024 00:00:00 +0900

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

Wed, 04 Dec 2024 23:45:00 +0900

Type Values Removed Values Added
First Time appeared Redhat
Redhat rhel E4s
CPEs cpe:/a:redhat:rhel_e4s:9.0::highavailability
Vendors & Products Redhat
Redhat rhel E4s

Sat, 23 Nov 2024 00:45:00 +0900

Type Values Removed Values Added
Metrics threat_severity

Moderate

threat_severity

Important


Wed, 06 Nov 2024 02:00:00 +0900

Type Values Removed Values Added
First Time appeared Ruby-lang
Ruby-lang rexml
CPEs cpe:2.3:a:ruby-lang:rexml:*:*:*:*:*:ruby:*:*
Vendors & Products Ruby-lang
Ruby-lang rexml
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H'}


Tue, 29 Oct 2024 10:45:00 +0900

Type Values Removed Values Added
References
Metrics threat_severity

None

cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:H'}

threat_severity

Moderate


Tue, 29 Oct 2024 00:15:00 +0900

Type Values Removed Values Added
First Time appeared Ruby
Ruby rexml
CPEs cpe:2.3:a:ruby:rexml:*:*:*:*:*:*:*:*
Vendors & Products Ruby
Ruby rexml
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Mon, 28 Oct 2024 23:30:00 +0900

Type Values Removed Values Added
Description REXML is an XML toolkit for Ruby. The REXML gem before 3.3.9 has a ReDoS vulnerability when it parses an XML that has many digits between &# and x...; in a hex numeric character reference (&#x...;). This does not happen with Ruby 3.2 or later. Ruby 3.1 is the only affected maintained Ruby. The REXML gem 3.3.9 or later include the patch to fix the vulnerability.
Title REXML ReDoS vulnerability
Weaknesses CWE-1333
References
Metrics cvssV4_0

{'score': 6.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:H/SC:N/SI:N/SA:N/E:U'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2025-11-03T20:41:10.439Z

Reserved: 2024-10-18T13:43:23.455Z

Link: CVE-2024-49761

cve-icon Vulnrichment

Updated: 2024-12-27T16:03:07.802Z

cve-icon NVD

Status : Modified

Published: 2024-10-28T15:15:05.157

Modified: 2025-11-03T21:16:31.620

Link: CVE-2024-49761

cve-icon Redhat

Severity : Moderate

Publid Date: 2024-10-28T14:10:23Z

Links: CVE-2024-49761 - Bugzilla

cve-icon OpenCVE Enrichment

No data.

Weaknesses