published 15 Dec 2017 · updated 5 Aug 2024
Ruby before 2.4.3 allows Net::FTP command injection
7.0HighEPSS 74%2 public exploits
2 public exploits exists; no exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 74%. No fixed version is recorded.
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.
Exploit evidence
2 public sources
Timeline
Every event on this vulnerability
Public exploitCVE-2017-17405·
7.0High
Embed
A live severity badge for an advisory, README or ticket