CVE-2024-41946

NameCVE-2024-41946
DescriptionREXML 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDLA-4018-1
Debian Bugs1083190, 1083191

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby2.7 (PTS)bullseye2.7.4-1+deb11u1vulnerable
bullseye (security)2.7.4-1+deb11u3fixed
ruby3.1 (PTS)bookworm, bookworm (security)3.1.2-7+deb12u1vulnerable
sid, trixie3.1.2-8.5vulnerable
ruby3.2 (PTS)sid3.2.3-1vulnerable
ruby3.3 (PTS)trixie3.3.6-1.1fixed
sid3.3.7-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby2.7sourcebullseye2.7.4-1+deb11u3DLA-4018-1
ruby2.7source(unstable)(unfixed)
ruby3.1source(unstable)(unfixed)1083190
ruby3.2source(unstable)(unfixed)1083191
ruby3.3source(unstable)3.3.5-1

Notes

[bookworm] - ruby3.1 <no-dsa> (Minor issue)
https://github.com/ruby/rexml/security/advisories/GHSA-5866-49gr-22v4
https://www.ruby-lang.org/en/news/2024/08/01/dos-rexml-cve-2024-41946/
https://github.com/ruby/rexml/pull/187
https://github.com/ruby/rexml/commit/033d1909a8f259d5a7c53681bcaf14f13bcf0368 (v3.3.3)

Search for package or bug name: Reporting problems