CVE-2017-17405

Ruby before 2.4.3 allows Net::FTP command injection

published December 15, 2017

Patch now

High probability of exploitation

NVD has not assigned a CVSS score to this record. It sits in the 99.5th percentile for exploit probability.

CVSS
—
EPSS
74%
Percentile
99.5
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS
Not scored
CVSS v4.0
Not supplied
EPSS
0.73829 · 99.5th percentile
Published
2017-12-15T09:00Z
EPSS history
Timeline
  • 15 DEC 09:00Z
    Ruby before 2.4.3 allows Net::FTP command injection
    cvelistv5