Name | CVE-2024-39908 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Debian Bugs | 1076766, 1076767, 1076768 |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
ruby2.1 (PTS) | jessie, jessie (lts) | 2.1.5-2+deb8u14 | vulnerable |
ruby2.3 (PTS) | stretch (security) | 2.3.3-1+deb9u11 | vulnerable |
| stretch (lts), stretch | 2.3.3-1+deb9u12 | vulnerable |
ruby2.5 (PTS) | buster, buster (lts) | 2.5.5-3+deb10u7 | vulnerable |
| buster (security) | 2.5.5-3+deb10u6 | vulnerable |
ruby2.7 (PTS) | bullseye | 2.7.4-1+deb11u1 | vulnerable |
| bullseye (security) | 2.7.4-1+deb11u2 | vulnerable |
ruby3.1 (PTS) | bookworm (security), bookworm | 3.1.2-7+deb12u1 | vulnerable |
| sid, trixie | 3.1.2-8.4 | vulnerable |
ruby3.2 (PTS) | sid | 3.2.3-1 | vulnerable |
ruby3.3 (PTS) | sid, trixie | 3.3.5-2 | fixed |
The information below is based on the following data on fixed versions.
Notes
[bookworm] - ruby3.1 <no-dsa> (Minor issue)
[bullseye] - ruby2.7 <postponed> (Minor issue, DoS)
https://www.ruby-lang.org/en/news/2024/07/16/dos-rexml-cve-2024-39908/
[jessie] - ruby2.1 <postponed> (Minor issue, DoS, unclear patchset)
[stretch] - ruby2.3 <postponed> (Minor issue, DoS, unclear patchset)
[buster] - ruby2.5 <postponed> (Minor issue, DoS, unclear patchset)