CVE-2017-17405 Details
Description
Ruby before 2.4.3 allows Net::FTP command injection. Net::FTP#get, getbinaryfile, gettextfile, put, putbinaryfile, and puttextfile use Kernel#open to open a local file. If the localfile argument starts with the "|" pipe character, the command following the pipe character is executed. The default value of localfile is File.basename(remotefile), so malicious FTP servers could cause arbitrary command execution.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| ruby-lang ruby | >= 2.2, <= 2.2.8 >= 2.3, <= 2.3.5 >= 2.4, <= 2.4.2 2.5.0 preview1 |
CPE
Remediation
| |
| debian debian linux | 7.0 8.0 9.0 |
CPE
Remediation
| |
| redhat enterprise linux desktop | 7.0 |
CPE
Remediation
| |
| redhat enterprise linux server | 7.0 |
CPE
Remediation
| |
| redhat enterprise linux server aus | 7.4 7.6 |
CPE
Remediation
| |
| redhat enterprise linux server eus | 7.4 7.5 7.6 |
CPE
Remediation
| |
| redhat enterprise linux server tus | 7.4 7.6 |
CPE
Remediation
| |
| redhat enterprise linux workstation | 7.0 |
CPE
Remediation
| |
Change History
15 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| May 13, 2026 | CVE Status Change | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 19, 2019 | CVE Modified | [email protected] |
| Mar 14, 2019 | Modified Analysis | [email protected] |
| Oct 31, 2018 | CVE Modified | [email protected] |
| Aug 3, 2018 | CVE Modified | [email protected] |
| Jul 15, 2018 | CVE Modified | [email protected] |
| Mar 28, 2018 | CVE Modified | [email protected] |
| Mar 2, 2018 | CVE Modified | [email protected] |
| Feb 4, 2018 | CVE Modified | [email protected] |
| Dec 29, 2017 | Initial Analysis | [email protected] |
| Dec 27, 2017 | CVE Modified | [email protected] |
| Dec 20, 2017 | CVE Modified | [email protected] |