CVE-2017-17405
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.
Official description from the CVE record, published by mitre. Copyright © 1999-2026 The MITRE Corporation. See /security/cve/legal for the CVE license. View the record on cve.org
Key data
EPSS
- Score
- 0.73829 (73.8% probability)
- Percentile
- 99.5%
- Scores of
- Nov 10, 2026
- Model
- v2026.06.15
References
- RHSA-2018:0585 (access.redhat.com)vendor-advisory
- [debian-lts-announce] 20171225 [SECURITY] [DLA 1222-1] ruby1.8 security update (lists.debian.org)mailing-list
- RHSA-2018:0378 (access.redhat.com)vendor-advisory
- 102204 (securityfocus.com)vdb-entry
- 1042004 (securitytracker.com)vdb-entry
- ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-…
- 43381 (exploit-db.com)exploit
- RHSA-2018:0584 (access.redhat.com)vendor-advisory
- ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security update (lists.debian.org)mailing-list
- RHSA-2018:0583 (access.redhat.com)vendor-advisory
- [debian-lts-announce] 20171225 [SECURITY] [DLA 1221-1] ruby1.9.1 security update (lists.debian.org)mailing-list
- DSA-4259 (debian.org)vendor-advisory
- RHSA-2019:2806 (access.redhat.com)vendor-advisory
Timeline
- ID reserved
- Record published
- Record last updated
Look up another CVE
About CubePath
Data from the CVE Program (MITRE), CISA KEV and FIRST EPSS. CVSS is owned by FIRST and used by permission. Not affiliated with or endorsed by MITRE, CISA or FIRST. Data as of Nov 10, 2026, 19:47 UTC. Sources and licenses