Command injection in Ruby - CVE-2017-17405

 

Command injection in Ruby - CVE-2017-17405

Published: December 22, 2017 / Updated: June 17, 2021


Vulnerability identifier: #VU9718
CSH Severity: High
CVSS v4.0: CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/U:Amber
CVE-ID: CVE-2017-17405
CWE-ID: CWE-77
Exploitation vector: Remote access
Exploit availability: Public exploit is available
Vendor: Ruby
Affected software:
Ruby

Detailed vulnerability description

The vulnerability allows a remote attacker to execute arbitrary commands on the target system.

The weakness exists due to flaws in the Net::FTP. A remote attacker can inject and execute arbitrary commands with elevated privileges.

Successful exploitation of the vulnerability may result in system compromise.

How to mitigate CVE-2017-17405

Update to version 2.2.9, 2.3.6, 2.4.3 or later.

Sources