#VU11615 Path traversal in RubyGems


Published: 2018-04-08

Vulnerability identifier: #VU11615

Vulnerability risk: Low

CVSSv3.1: 4.6 [CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]

CVE-ID: CVE-2018-1000079

CWE-ID: CWE-22

Exploitation vector: Network

Exploit availability: No

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

Vendor: Ruby

Description
The vulnerability allows a remote attacker to modify file locations on the target system.

The weakness exists due to the improper handling of pathnames when the affected software installs new components. A remote attacker can persuade the victim into install a malicious RubyGems gem and use directory traversal techniques to write to arbitrary file locations.

Mitigation
Update to version 2.7.6.

Vulnerable software versions

RubyGems: 2.5.0 - 2.7.5


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


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability