CVE-2017-17405
- State
- Published
- Severity
- Not scored
- Published
- Dec 15, 2017
- Updated
- Aug 5, 2024
- Reserved
- Dec 5, 2017
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.
Scores
The record has no CVSS score.
Weaknesses
The record names no weakness.
Affected Products
| Product | Versions |
|---|---|
n/an/a |
|
References
- RHSA-2018:0585vendor-advisory
- [debian-lts-announce] 20171225 [SECURITY] [DLA 1222-1] ruby1.8 security updatemailing-list
- RHSA-2018:0378vendor-advisory
- 102204vdb-entry
- 1042004vdb-entry
- https://www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/
- 43381exploit
- RHSA-2018:0584vendor-advisory
- https://www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/
- [debian-lts-announce] 20180714 [SECURITY] [DLA 1421-1] ruby2.1 security updatemailing-list
- RHSA-2018:0583vendor-advisory
- [debian-lts-announce] 20171225 [SECURITY] [DLA 1221-1] ruby1.9.1 security updatemailing-list
- DSA-4259vendor-advisory
- RHSA-2019:2806vendor-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.