| Name | CVE-2019-8321 |
| Description | An issue was discovered in RubyGems 2.6 and later through 3.0.2. Since Gem::UserInteraction#verbose calls say without escaping, escape sequence injection is possible. |
| Source | CVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
| References | 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) | bookworm | 9.3.9.0+ds-8 | fixed |
| forky, sid, trixie | 9.4.8.0+ds-3 | fixed | |
| rubygems (PTS) | bullseye | 3.2.5-2 | fixed |
| bullseye (security) | 3.2.5-2+deb11u1 | fixed | |
| bookworm | 3.3.15-2+deb12u1 | fixed | |
| forky, sid, trixie | 3.6.7-2 | fixed |
The information below is based on the following data on fixed versions.
| Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
|---|---|---|---|---|---|---|
| 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 | ||
| ruby2.1 | source | jessie | (not affected) | |||
| 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 | (unstable) | 3.2.0~rc.1-1 |
[jessie] - ruby2.1 <not-affected> (Vulnerable code introduced later)
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