All vulnerabilities

Servers and applications

CVE-2017-17405

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…

Severity
High 8.8
Published
15 Dec 2017
Last changed
17 Jun 2026
Added to UpHeron
21 Oct 2026
Sources
NVD

Affected software

SoftwareAffected versions
RubyServers and applications · cpe:a:ruby-lang:ruby
  • From 2.2 up to 2.2.8
  • From 2.3 up to 2.3.5
  • From 2.4 up to 2.4.2
  • Version 2.5.0-preview1

References

  • NVD https://nvd.nist.gov/vuln/detail/CVE-2017-17405
  • CVE.org https://www.cve.org/CVERecord?id=CVE-2017-17405