CVE-2019-8322

NameCVE-2019-8322
DescriptionAn issue was discovered in RubyGems 2.6 and later through 3.0.2. The gem owner command outputs the contents of the API response directly to stdout. Therefore, if the response is crafted, escape sequence injection may occur.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-1735-1, DLA-1796-1, DSA-4433-1
NVD severitymedium (attack range: remote)
Debian Bugs925987

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
jruby (PTS)jessie1.5.6-9vulnerable
jessie (security)1.5.6-9+deb8u1fixed
stretch (security), stretch1.7.26-1+deb9u1vulnerable
bullseye, sid, buster9.1.17.0-3fixed
ruby2.1 (PTS)jessie2.1.5-2+deb8u3vulnerable
jessie (security)2.1.5-2+deb8u7fixed
ruby2.3 (PTS)stretch (security), stretch2.3.3-1+deb9u6fixed
ruby2.5 (PTS)buster2.5.5-3fixed
bullseye, sid2.5.5-4fixed

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

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
jrubysource(unstable)9.1.17.0-3medium925987
jrubysourcejessie1.5.6-9+deb8u1mediumDLA-1796-1
ruby2.1source(unstable)(unfixed)medium
ruby2.1sourcejessie2.1.5-2+deb8u7mediumDLA-1735-1
ruby2.3source(unstable)(unfixed)medium
ruby2.3sourcestretch2.3.3-1+deb9u6mediumDSA-4433-1
ruby2.5source(unstable)2.5.5-1medium
rubygemssource(unstable)(unfixed)medium

Notes

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

Search for package or bug name: Reporting problems