Vulnerability identifier: #VU11628
Vulnerability risk: Low
CVSSv3.1: 3.8 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N/E:U/RL:O/RC:C]
CVE-ID:
CWE-ID:
CWE-20
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 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.
Mitigation
Update to version 2.7.6.
Vulnerable software versions
RubyGems: 2.2.0 - 2.7.5
External links
http://blog.rubygems.org/2018/02/15/2.7.6-released.html
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.