Ubuntu CVE Tracker
UBUNTU-CVE-2018-1000079
Details
RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and earlier, Ruby 2.4 series: 2.4.3 and earlier, Ruby 2.5 series: 2.5.0 and earlier, prior to trunk revision 62422 contains a Directory Traversal vulnerability in gem installation that can result in the gem could write to arbitrary filesystem locations during installation. This attack appear to be exploitable via the victim must install a malicious gem. This vulnerability appears to have been fixed in 2.7.6.
Affected packages
| Ecosystem | Package | Affected versions |
|---|---|---|
| Ubuntu:14.04:LTS | ruby2.0 | All versions before 2.0.0.484-1ubuntu2.6 (fixed in 2.0.0.484-1ubuntu2.6) |
| Ubuntu:Pro:14.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:16.04:LTS | ruby2.3 | All versions before 2.3.1-2~16.04.7 (fixed in 2.3.1-2~16.04.7) |
| Ubuntu:16.04:LTS | jruby | All versions, no fix listed |
| Ubuntu:18.04:LTS | jruby | All versions, no fix listed |
References
- https://ubuntu.com/security/CVE-2018-1000079
- https://github.com/rubygems/rubygems/commit/f83f911e19e27cbac1ccce7471d96642241dd759
- https://github.com/rubygems/rubygems/commit/666ef793cad42eed96f7aee1cdf77865db921099
- https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/
- https://ubuntu.com/security/notices/USN-3621-1
- https://www.cve.org/CVERecord?id=CVE-2018-1000079