CVE-2018-1000073Link Following in Rubygems

Severity
7.5HIGHNVD
EPSS
1.1%
top 22.36%
CISA KEV
Not in KEV
Exploit
No known exploits
Timeline
PublishedMar 13
Latest updateMay 13

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.

CVSS vector

CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitability: 3.9 | Impact: 3.6

Affected Packages5 packages

debiandebian/rubygems< jruby 9.1.17.0-2.1 (bookworm)
Debianrubygems/rubygems< 3.2.0~rc.1-1+3
NVDrubygems/rubygems2.2.9+3
debiandebian/jruby< jruby 9.1.17.0-2.1 (bookworm)
Debianjruby/jruby< 9.1.17.0-2.1+2

Patches

🔴Vulnerability Details

5
OSV
RubyGems Link Following vulnerability2022-05-13
GHSA
RubyGems Link Following vulnerability2022-05-13
OSV
ruby1.9.1, ruby2.0 regression2018-04-13
OSV
ruby1.9.1, ruby2.0, ruby2.3 vulnerabilities2018-04-05
OSV
CVE-2018-1000073: RubyGems version Ruby 22018-03-13

📋Vendor Advisories

4
Ubuntu
Ruby regression2018-04-13
Ubuntu
Ruby vulnerabilities2018-04-05
Red Hat
rubygems: Path traversal when writing to a symlinked basedir outside of the root2018-02-15
Debian
CVE-2018-1000073: jruby - RubyGems version Ruby 2.2 series: 2.2.9 and earlier, Ruby 2.3 series: 2.3.6 and ...2018

💬Community

3
Bugzilla
CVE-2018-1000073 CVE-2018-1000074 CVE-2018-1000075 CVE-2018-1000076 CVE-2018-1000077 CVE-2018-1000078 CVE-2018-1000079 rubygems: various flaws [fedora-all]2018-02-21
Bugzilla
CVE-2018-1000079 rubygems: Path traversal issue during gem installation allows to write to arbitrary filesystem locations2018-02-21
Bugzilla
CVE-2018-1000073 rubygems: Path traversal when writing to a symlinked basedir outside of the root2018-02-21