VDB

CVE-2017-17405

CVE-2017-17405 PUBLISHED

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.

EPSS 88.65% · 99.5th percentile

Risk Scores

EPSS Score
88.65%
99.5th percentile

Affected Products

VendorProductVersions
Ubuntu:16.04:LTSruby2.30, 2.3.0-1, 2.3.0-2
Ubuntu:14.04:LTSruby1.9.10, 1.9.3.194-8.1ubuntu2, 1.9.3.448-1ubuntu1
Ubuntu:14.04:LTSruby2.02.0.0.299-2, 2.0.0.343-1, 2.0.0.343-1ubuntu1

Exploit Intelligence

…and 2 more exploits

Timeline

  • CVE Published
  • Dec 19, 2017 PoC Published
  • Dec 22, 2017 PoC Published
  • Apr 14, 2021 EPSS Score
  • Feb 21, 2022 EPSS Score
  • Mar 7, 2023 EPSS Score
  • Oct 25, 2023 EPSS Score
  • Nov 25, 2023 EPSS Score
  • Mar 17, 2025 EPSS Score
  • Mar 19, 2025 EPSS Score
  • Mar 25, 2025 EPSS Score
  • Apr 12, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›