Improper input validation in RubyGems - CVE-2018-1000077

 

Improper input validation in RubyGems - CVE-2018-1000077

Published: April 9, 2018 / Updated: April 10, 2018


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

Detailed vulnerability description

The vulnerability allows a remote unauthenticated attacker to write arbitrary files on the target system.

The weakness exists due to improper URL validation of the specification homepage attribute. A remote attacker can trick the victim into installing a malicious RubyGems gem and set an invalid homepage URL.


How to mitigate CVE-2018-1000077

Update to version 2.7.6.

Sources