Vulnerability in Rubygems
CVE-2018-1000073
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS 0.049, 92.2th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
Weakness classification (CWE)
Public exploits and proof-of-concept code
Also mentioned in 1 other repository (ARPSyndicate/cvemon). These reference the CVE in a list, notes or a scanner and are not exploit code for it.
References
- DSA-4219 (vendor-advisory)
- USN-3621-1 (vendor-advisory)
- RHSA-2018:3729 (vendor-advisory)
- RHSA-2018:3730 (vendor-advisory)
- RHSA-2018:3731 (vendor-advisory)
- github.com/rubygems/rubygems/commit/1b931fc03b819b9a0214be3eaca844ef534175e2 (Patch, Third Party Advisory)
- [debian-lts-announce] 20180827 [SECURITY] [DLA 1480-1] ruby2.1 security update (mailing-list)
- DSA-4259 (vendor-advisory)
- blog.rubygems.org/2018/02/15/2.7.6-released.html (Vendor Advisory)
- openSUSE-SU-2019:1771 (vendor-advisory)