Vulnerability identifier: #VU11541
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:
CWE-ID:
CWE-626
Exploitation vector: Network
Exploit availability: No
Vulnerable software:
Ruby
Universal components / Libraries /
Scripting languages
Vendor: Ruby
Description
The vulnerability allows a remote attacker to write arbitrary files on the target system.
The weakness exists in the UNIXServer.open and UNIXSocket.open methods due to improper checking of null characters. A remote attacker can accept the socket file in the unintentional path.
Mitigation
Update to versions 2.2.10, 2.3.7, 2.4.4 or 2.5.1.
Vulnerable software versions
Ruby: 2.2.0 - 2.6.0-preview1
External links
http://www.ruby-lang.org/en/news/2018/03/28/poisoned-nul-byte-unixsocket-cve-2018-8779/
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.