Name | CVE-2018-1000073 |
Description | 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. |
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-1480-1, DSA-4219-1, DSA-4259-1 |
Debian Bugs | 895778, 925986 |
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|---|---|---|
jruby (PTS) | bookworm | 9.3.9.0+ds-8 | fixed |
sid, trixie | 9.4.8.0+ds-1 | fixed | |
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 |
---|---|---|---|---|---|---|
jruby | source | wheezy | (not affected) | |||
jruby | source | jessie | (not affected) | |||
jruby | source | stretch | 1.7.26-1+deb9u1 | DSA-4219-1 | ||
jruby | source | (unstable) | 9.1.17.0-2.1 | 895778, 925986 | ||
ruby1.9.1 | source | wheezy | (not affected) | |||
ruby1.9.1 | source | (unstable) | (unfixed) | |||
ruby2.1 | source | jessie | 2.1.5-2+deb8u5 | DLA-1480-1 | ||
ruby2.1 | source | (unstable) | (unfixed) | |||
ruby2.3 | source | stretch | 2.3.3-1+deb9u3 | DSA-4259-1 | ||
ruby2.3 | source | (unstable) | (unfixed) | |||
ruby2.5 | source | (unstable) | 2.5.0-5 | |||
rubygems | source | wheezy | (not affected) | |||
rubygems | source | (unstable) | 3.2.0~rc.1-1 |
[wheezy] - ruby1.9.1 <not-affected> (Vulnerable code not present)
[wheezy] - rubygems <not-affected> (Vulnerable code not present)
[jessie] - jruby <not-affected> (Vulnerable code not present)
[wheezy] - jruby <not-affected> (Vulnerable code not present)
https://github.com/rubygems/rubygems/commit/1b931fc03b819b9a0214be3eaca844ef534175e2
https://www.ruby-lang.org/en/news/2018/02/17/multiple-vulnerabilities-in-rubygems/