Name | CVE-2017-0901 |
Description | RubyGems version 2.6.12 and earlier fails to validate specification names, allowing a maliciously crafted gem to potentially overwrite any file on the filesystem. |
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-1112-1, DLA-1114-1, DLA-1421-1, DSA-3966-1 |
Debian Bugs | 873802 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
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 |
---|---|---|---|---|---|---|
ruby1.9.1 | source | wheezy | 1.9.3.194-8.1+deb7u6 | DLA-1114-1 | ||
ruby1.9.1 | source | (unstable) | (unfixed) | |||
ruby2.1 | source | jessie | 2.1.5-2+deb8u4 | DLA-1421-1 | ||
ruby2.1 | source | (unstable) | (unfixed) | |||
ruby2.3 | source | stretch | 2.3.3-1+deb9u1 | DSA-3966-1 | ||
ruby2.3 | source | (unstable) | 2.3.3-1+deb9u1 | 873802 | ||
rubygems | source | wheezy | 1.8.24-1+deb7u1 | DLA-1112-1 | ||
rubygems | source | (unstable) | 3.2.0~rc.1-1 |
https://www.ruby-lang.org/en/news/2017/08/29/multiple-vulnerabilities-in-rubygems/
http://blog.rubygems.org/2017/08/27/2.6.13-released.html
For Ruby 2.3.4: https://bugs.ruby-lang.org/attachments/download/6691/rubygems-2613-ruby23.patch
For Ruby 2.2.7: https://bugs.ruby-lang.org/attachments/download/6690/rubygems-2613-ruby22.patch