#VU11647 Path traversal in Ruby and RubyGems


Published: 2018-04-10

Vulnerability identifier: #VU11647

Vulnerability risk: Low

CVSSv3.1:

CVE-ID: CVE-2018-1000073

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Ruby
Universal components / Libraries / Scripting languages
RubyGems
Universal components / Libraries / Libraries used by multiple products

Vendor: Ruby

Description
The vulnerability allows a remote attacker to obtain potentially sensitive information on the target system.

The weakness exists in the install_location function of package.rb due to path traversal when writing to a symlinked basedir outside of the root. A remote attacker can gain access to potentially sensitive information.

Mitigation
Update to version 2.7.6.

Vulnerable software versions

RubyGems: 2.2.0 - 2.5.0


CPE

External links
http://blog.rubygems.org/2018/02/15/2.7.6-released.html


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability