cbcvebase.
CVE-2024-39908
published 2024-07-16

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 ``…

PriorityP420medium4.3CVSS 3.1
AVNACLPRNUIRSUCNINAL
EPSS
1.49%
70.9th percentile
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 ``. 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.

Affected

14 ranges
VendorProductVersion rangeFixed in
debianruby2.7< ruby2.7 2.7.4-1+deb11u3 (bullseye)ruby2.7 2.7.4-1+deb11u3 (bullseye)
debianruby3.1< ruby2.7 2.7.4-1+deb11u3 (bullseye)ruby2.7 2.7.4-1+deb11u3 (bullseye)
debianruby3.3< ruby2.7 2.7.4-1+deb11u3 (bullseye)ruby2.7 2.7.4-1+deb11u3 (bullseye)
msrcazl3_ruby_3.3.3-2_on_azure_linux_3.0
msrcazl3_ruby_3.3.5-1_on_azure_linux_3.0
msrcazl3_rubygem-rexml_3.2.8-1_on_azure_linux_3.0
msrcazl3_rubygem-rexml_3.3.4-1_on_azure_linux_3.0
msrcazure_linux_3.0_arm
msrcazure_linux_3.0_x64
msrccbl2_ruby_3.1.4-9_on_cbl_mariner_2.0
msrccbl2_rubygem-rexml_3.2.7-4_on_cbl_mariner_2.0
ruby-langrexml< 3.3.23.3.2
rubyrexml< 3.3.23.3.2
rubyrexml>= 0 < 3.3.23.3.2

CVSS provenance

nvdv3.14.3MEDIUMCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:N/A:L
osv5.3MEDIUM
vendor_ubuntu5.3MEDIUM
vendor_debian4.3MEDIUM
vendor_msrc4.3MEDIUM
vendor_redhat4.3MEDIUM
Stop checking back — get the weekly exploitation signal.

Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.