Ubuntu CVE Tracker
UBUNTU-CVE-2018-1000073
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 install_location function of package.rb that can result in path traversal when writing to a symlinked basedir outside of the root. 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-1000073
- https://github.com/rubygems/rubygems/commit/1b931fc03b819b9a0214be3eaca844ef534175e2
- 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-1000073