Path traversal in RubyGems - CVE-2019-8320

 

Path traversal in RubyGems - CVE-2019-8320

Published: August 13, 2019


Vulnerability identifier: #VU20193
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:N/VI:N/VA:L/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2019-8320
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available
Vendor: Ruby
Affected software:
RubyGems

Detailed vulnerability description

The vulnerability allows a remote attacker to perform directory traversal attacks.

The vulnerability exists due to input validation error when processing directory traversal sequences in gems. A remote attacker can trick the victim to load a specially crafted gem and delete arbitrary files on the system.


How to mitigate CVE-2019-8320

Install updates from vendor's website.

Sources