CVE-2024-39908 Denial of service in REXML
MediumCVSS 4.3
EPSS 1.5%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- UbuntuDebian
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.
Upgrade path
19 packages: 13 fixed, 5 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| debian/ruby3.1(Debian 12) | = 3.1.2-7; = 3.1.2-7+deb12u1; = 3.1.2-7+hurd.1; = 3.1.2-8 +7 more | No fix listed | No fix yet |
| netapp bootstrap os | All versions | No fix listed | No fix yet |
| ubuntu/jruby(Ubuntu 24.04) | All versions | No fix listed | No fix yet |
| ubuntu/jruby(Ubuntu 26.04) | All versions | No fix listed | No fix yet |
| ubuntu/jruby(Ubuntu 26.10) | All versions | No fix listed | No fix yet |
| alpine/ruby-rexml(Alpine v3.19) | < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.20) | < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.21) | < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.22) | < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.23) | < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.24) | < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| debian/ruby3.3(Debian 13) | < 3.3.5-1 | 3.3.5-1 | Fixed |
| debian/ruby3.3(Debian 14) | < 3.3.5-1 | 3.3.5-1 | Fixed |
| Microsoft azure linux | < 3.3.4-1; < 3.3.5-1 | 3.3.4-1, 3.3.5-1 | Fixed |
| ruby-lang rexml | < 3.3.2 | 3.3.2 | Fixed |
| rubygems rexml(RubyGems) | < 3.3.2; = 3.1.7.3; = 3.1.8; = 3.1.9 +13 more | 3.3.2 | Fixed |
| ubuntu/ruby3.0(Ubuntu 22.04) | < 3.0.2-7ubuntu2.10 | 3.0.2-7ubuntu2.10 | Fixed |
| ubuntu/ruby3.2(Ubuntu 24.04) | < 3.2.3-1ubuntu0.24.04.5 | 3.2.3-1ubuntu0.24.04.5 | Fixed |
| ruby rexml | = < 3.3.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| Microsoft azure linux | < 3.3.5-1 | 3.3.5-1 |
| Microsoft azure linux | < 3.3.4-1 | 3.3.4-1 |
| rubygems rexml(RubyGems) | < 3.3.2 | 3.3.2 |
| rubygems rexml(RubyGems) | = 3.1.7.3 | No fix listed |
| rubygems rexml(RubyGems) | = 3.1.8 | No fix listed |
| rubygems rexml(RubyGems) | = 3.1.9 | No fix listed |
| rubygems rexml(RubyGems) | = 3.1.9.1 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.0 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.1 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.2 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.3 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.4 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.5 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.6 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.7 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.8 | No fix listed |
| rubygems rexml(RubyGems) | = 3.2.9 | No fix listed |
| rubygems rexml(RubyGems) | = 3.3.0 | No fix listed |
| rubygems rexml(RubyGems) | = 3.3.1 | No fix listed |
| ubuntu/ruby3.0(Ubuntu:22.04) | < 3.0.2-7ubuntu2.10 | 3.0.2-7ubuntu2.10 |
| ruby rexml | = < 3.3.2 | No fix listed |
| ruby-lang rexml | < 3.3.2 | 3.3.2 |
| alpine/ruby-rexml(Alpine:v3.19) | < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.20) | < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.21) | < 3.3.9-r0 | 3.3.9-r0 |
Show 21 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/ruby-rexml(Alpine:v3.22) | < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.23) | < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.24) | < 3.3.9-r0 | 3.3.9-r0 |
| ubuntu/jruby(Ubuntu:24.04) | All versions | No fix listed |
| ubuntu/ruby3.2(Ubuntu:24.04) | < 3.2.3-1ubuntu0.24.04.5 | 3.2.3-1ubuntu0.24.04.5 |
| netapp bootstrap os | All versions | No fix listed |
| ubuntu/jruby(Ubuntu:26.04) | All versions | No fix listed |
| ubuntu/jruby(Ubuntu:26.10) | All versions | No fix listed |
| debian/ruby3.1(Debian:12) | All versions | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-7 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-7+deb12u1 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-7+hurd.1 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.1~exp1 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.3 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.4 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.2-8.5 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.7+really3.1.2-0+deb12u1 | No fix listed |
| debian/ruby3.1(Debian:12) | = 3.1.7-1~deb12u2 | No fix listed |
| debian/ruby3.3(Debian:13) | < 3.3.5-1 | 3.3.5-1 |
| debian/ruby3.3(Debian:14) | < 3.3.5-1 | 3.3.5-1 |
References
- MSRC Security Update Guide vendor-advisory
- ruby third-party-advisory vendor-advisory
- https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8 vendor-advisory
- github.com product
- github.com
- github.com exploit
- lists.debian.org
- security.netapp.com third-party-advisory
- https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908 vendor-advisory
- Debian Security Tracker CVE-2024-39908 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- USN-7091-1 vendor-advisory
- USN-7256-1 vendor-advisory
- USN-7418-1 vendor-advisory
- USN-7840-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking
- bugs.debian.org issue-tracking