VDB

CVE-2017-17405

CVE-2017-17405 PUBLISHED CVSS 8.800000190734863 HIGH

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 73.83% · 99.5th percentile

Risk Scores

CVSS 3.0
8.800000190734863
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS Score
73.83%
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

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
  • Dec 17, 2024 EPSS Score
  • Mar 19, 2025 EPSS Score
  • Mar 24, 2025 EPSS Score
  • Apr 12, 2025 EPSS Score
  • May 4, 2025 EPSS Score
Open in Interactive Console →
$ Console Community · 100/wk Open console ›