Name | CVE-2019-8324 |
Description | An issue was discovered in RubyGems 2.6 and later through 3.0.2. A crafted gem with a multi-line name is not handled correctly. Therefore, an attacker could inject arbitrary code to the stub line of gemspec, which is eval-ed by code in ensure_loadable_spec during the preinstall check. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
References | DLA-1735-1, DLA-1796-1, DLA-2330-1, DSA-4433-1 |
Debian Bugs | 925987 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
jruby (PTS) | jessie, jessie (lts) | 1.5.6-9+deb8u2 | fixed |
stretch (security), stretch (lts), stretch | 1.7.26-1+deb9u3 | fixed | |
buster (security), buster, buster (lts) | 9.1.17.0-3+deb10u1 | fixed | |
bookworm | 9.3.9.0+ds-8 | fixed | |
sid, trixie | 9.4.8.0+ds-1 | fixed | |
ruby2.1 (PTS) | jessie, jessie (lts) | 2.1.5-2+deb8u14 | fixed |
ruby2.3 (PTS) | stretch (security) | 2.3.3-1+deb9u11 | fixed |
stretch (lts), stretch | 2.3.3-1+deb9u12 | fixed | |
ruby2.5 (PTS) | buster, buster (lts) | 2.5.5-3+deb10u7 | fixed |
buster (security) | 2.5.5-3+deb10u6 | fixed | |
rubygems (PTS) | bullseye | 3.2.5-2 | fixed |
bookworm | 3.3.15-2 | fixed | |
sid, trixie | 3.4.20-1 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|---|---|---|---|---|---|
jruby | source | wheezy | (unfixed) | end-of-life | ||
jruby | source | jessie | 1.5.6-9+deb8u1 | DLA-1796-1 | ||
jruby | source | stretch | 1.7.26-1+deb9u2 | DLA-2330-1 | ||
jruby | source | (unstable) | 9.1.17.0-3 | 925987 | ||
ruby1.9.1 | source | wheezy | (not affected) | |||
ruby1.9.1 | source | (unstable) | (unfixed) | |||
ruby2.1 | source | jessie | 2.1.5-2+deb8u7 | DLA-1735-1 | ||
ruby2.1 | source | (unstable) | (unfixed) | |||
ruby2.3 | source | stretch | 2.3.3-1+deb9u6 | DSA-4433-1 | ||
ruby2.3 | source | (unstable) | (unfixed) | |||
ruby2.5 | source | (unstable) | 2.5.5-1 | |||
rubygems | source | wheezy | (unfixed) | end-of-life | ||
rubygems | source | (unstable) | 3.2.0~rc.1-1 |
https://www.ruby-lang.org/en/news/2019/03/05/multiple-vulnerabilities-in-rubygems/
https://blog.rubygems.org/2019/03/05/security-advisories-2019-03.html
https://github.com/rubygems/rubygems/commit/56c0bbb69e4506bda7ef7f447dfec5db820df20b
[wheezy] - ruby1.9.1 <not-affected> (Vulnerable code not present)