SOC status:Duty analyst on shift

UK Cyber Defence
VulnerabilityModified

CVE-2017-17405

Ruby before 2.4.3 allows Net::FTP command injection.

EXPLOITHIGH 8.8EPSS 73.8%

Does this matter?

EPSS puts the probability of exploitation in the next 30 days at 73.8%, higher than 99% of all known CVEs. Patch or mitigate before the next change window.

Description

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.

CVSS 3.0
8.8 HIGHCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
73.83% probability · 99th percentile
Public exploits
1 in Exploit-DB · first 2 December 2017
CISA KEV
Not listed
Weakness
CWE-78
Affected
ruby-lang/ruby · debian/debian linux · redhat/enterprise linux desktop · redhat/enterprise linux server · redhat/enterprise linux server aus · redhat/enterprise linux server eus · redhat/enterprise linux server tus · redhat/enterprise linux workstation
Source
cve@mitre.org
EPSS trend
0%38%75%21 September 2026: 70.41%22 September 2026: 73.83%28 October 2026: 73.83%21 September 202628 October 2026

EPSS moved from 70.4% on 21 September 2026 to 73.8% on 28 October 2026. The dashed line is the ten per cent mark our analysts treat as “patch before the next change window”.

Public exploits (1)

Entries in Exploit-DB that cite this CVE. Links go to the Exploit-DB page and to the file in the public repository; nothing is hosted here. A verified tick means the Exploit-DB team confirmed the exploit works against the stated version.

EDB-IDTitleTypePublishedVerified
EDB-43381source ↗Ruby < 2.2.8 / < 2.3.5 / < 2.4.2 / < 2.5.0-preview1 - 'NET::Ftp' Command Injectionruby · Etienne Stalmanslocal2 December 2017no

References

Source: NVD record, EPSS from FIRST.org, KEV from CISA, exploits from Exploit-DB. Refreshed daily. Download this record as JSON.