CVE-2024-41123 REXML DoS vulnerability
HighCVSS 7.5
EPSS 1.3%
PoC
- Published
- Updated
- Exploit status
- Proof-of-concept only
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
- Technology
- UbuntuDebian
Description
REXML is an XML toolkit for Ruby. The REXML gem before 3.3.2 has some DoS vulnerabilities when it parses an XML that has many specific characters such as whitespace character, >] and ]>. The REXML gem 3.3.3 or later include the patches to fix these vulnerabilities.
Upgrade path
17 packages: 13 fixed, 3 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| 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.2.8, < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.20) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.21) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.22) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.23) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| alpine/ruby-rexml(Alpine v3.24) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 | Fixed |
| debian/ruby3.1(Debian 12) | < 3.1.7-1~deb12u2; = 3.1.2-7; = 3.1.2-7+deb12u1; = 3.1.2-7+hurd.1 +5 more | 3.1.7-1~deb12u2 | 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 |
| ruby-lang rexml | < 3.2.7; < 3.3.3; >= 3.2.8, < 3.3.2 | 3.2.7, 3.3.2, 3.3.3 | Fixed |
| rubygems rexml(RubyGems) | < 3.3.3; = 3.1.7.3; = 3.1.8; = 3.1.9 +14 more | 3.3.3 | 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.3 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| rubygems rexml(RubyGems) | < 3.3.3 | 3.3.3 |
| 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 |
| rubygems rexml(RubyGems) | = 3.3.2 | No fix listed |
| ubuntu/ruby3.0(Ubuntu:22.04) | < 3.0.2-7ubuntu2.10 | 3.0.2-7ubuntu2.10 |
| ruby rexml | = < 3.3.3 | No fix listed |
| ruby-lang rexml | < 3.3.3 | 3.3.3 |
| alpine/ruby-rexml(Alpine:v3.19) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.20) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.21) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.22) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 |
Show 19 more
| Product | Affected versions | Fixed in |
|---|---|---|
| alpine/ruby-rexml(Alpine:v3.23) | >= 3.2.8, < 3.3.9-r0 | 3.3.9-r0 |
| alpine/ruby-rexml(Alpine:v3.24) | >= 3.2.8, < 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 |
| ruby-lang rexml | < 3.2.7 | 3.2.7 |
| ruby-lang rexml | >= 3.2.8, < 3.3.2 | 3.3.2 |
| 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) | < 3.1.7-1~deb12u2 | 3.1.7-1~deb12u2 |
| 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.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
- https://github.com/ruby/rexml/security/advisories/GHSA-4xqq-m2hx-25v8 not-applicable vendor-advisory
- https://github.com/ruby/rexml/security/advisories/GHSA-r55c-59qm-vjw6 vendor-advisory
- https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh not-applicable vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com product
- github.com exploit
- lists.debian.org
- security.netapp.com
- https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41123 vendor-advisory
- Debian Security Tracker CVE-2024-41123 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- USN-7091-1 vendor-advisory
- USN-7091-2 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