Ubuntu CVE Tracker
UBUNTU-CVE-2024-35176
Details
REXML is an XML toolkit for Ruby. The REXML gem before 3.2.6 has a denial of service vulnerability when it parses an XML that has many <s in an attribute value. Those who need to parse untrusted XMLs may be impacted to this vulnerability. The REXML gem 3.2.7 or later include the patch to fix this vulnerability. As a workaround, don't parse untrusted XMLs.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~ubuntu16.04.16+esm11 (fixed in 2.3.1-2~ubuntu16.04.16+esm11) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:Pro:18.04:LTS | ruby2.5 | All versions before 2.5.1-1ubuntu1.16+esm5 (fixed in 2.5.1-1ubuntu1.16+esm5) |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:20.04:LTS | ruby2.7 | All versions before 2.7.0-5ubuntu1.16 (fixed in 2.7.0-5ubuntu1.16) |
| Ubuntu:20.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:22.04:LTS | ruby3.0 | All versions before 3.0.2-7ubuntu2.10 (fixed in 3.0.2-7ubuntu2.10) |
| Ubuntu:24.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:24.04:LTS | ruby3.2 | All versions before 3.2.3-1ubuntu0.24.04.5 (fixed in 3.2.3-1ubuntu0.24.04.5) |
| Ubuntu:25.10 | jruby | All versions, no fix listed |
| Ubuntu:26.10 | jruby | All versions, no fix listed |
| Ubuntu:26.04:LTS | jruby | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2024-35176
- https://www.cve.org/CVERecord?id=CVE-2024-35176
- https://github.com/ruby/rexml/security/advisories/GHSA-vg3r-rm7w-2xgh
- https://ubuntu.com/security/notices/USN-7091-1
- https://ubuntu.com/security/notices/USN-7091-2
- https://ubuntu.com/security/notices/USN-7418-1
- https://ubuntu.com/security/notices/USN-7734-1
- https://ubuntu.com/security/notices/USN-7840-1