CVE-2024-41946 REXML DoS vulnerability
HighCVSS 7.5
EPSS 1.2%
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 3.3.2 has a DoS vulnerability when it parses an XML that has many entity expansions with SAX2 or pull parser API. The REXML gem 3.3.3 or later include the patch to fix the vulnerability.
Upgrade path
17 packages: 12 fixed, 1 partially 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 |
| 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 +6 more | 3.1.7-1~deb12u2 | Partially fixed |
| 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 |
| ruby-lang rexml | < 3.3.3 | 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.8 | 3.0.2-7ubuntu2.8 | Fixed |
| ubuntu/ruby3.2(Ubuntu 24.04) | < 3.2.3-1ubuntu0.24.04.3 | 3.2.3-1ubuntu0.24.04.3 | 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.8 | 3.0.2-7ubuntu2.8 |
| ruby rexml | = < 3.3.3 | No fix listed |
| ruby-lang rexml | < 3.3.3 | 3.3.3 |
| 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 |
| alpine/ruby-rexml(Alpine:v3.22) | < 3.3.9-r0 | 3.3.9-r0 |
Show 18 more
| Product | Affected versions | Fixed in |
|---|---|---|
| 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.3 | 3.2.3-1ubuntu0.24.04.3 |
| 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.3(Debian:14) | < 3.3.5-1 | 3.3.5-1 |
| debian/ruby3.3(Debian:13) | < 3.3.5-1 | 3.3.5-1 |
| 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 |
References
- https://github.com/ruby/rexml/security/advisories/GHSA-5866-49gr-22v4 vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/ruby/rexml/commit/033d1909a8f259d5a7c53681bcaf14f13bcf0368 patch
- github.com product
- github.com exploit
- lists.debian.org
- security.netapp.com
- https://www.ruby-lang.org/en/news/2008/08/23/dos-vulnerability-in-rexml not-applicable
- https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41946 vendor-advisory
- Debian Security Tracker CVE-2024-41946 vendor-advisory
- github.com
- Ubuntu CVE tracker vendor-advisory
- USN-7091-1 vendor-advisory
- USN-7091-2 vendor-advisory
- USN-7840-1 vendor-advisory
- www.cve.org
- security.alpinelinux.org vendor-advisory
- bugs.debian.org issue-tracking