CVE-2017-17405
highpriority · attend · 71EPSS 0.738 · 99 %ileexploit · PoCEURUUSEPSS · scored 2026-10-27
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
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
weaknesses
The CWE weakness classes this flaw belongs to.
exploits (1)
Public proof-of-concept and weaponised exploit code.
affected products (22)
Products and version ranges known to be affected.
- redhat enterprise linux server aus= 7.4nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
- redhat enterprise linux server aus= 7.6nvdUScpe:2.3:o:redhat:enterprise_linux_server_aus:*:*:*:*:*:*:*:*
- redhat enterprise linux server eus= 7.4nvdUScpe:2.3:o:redhat:enterprise_linux_server_eus:*:*:*:*:*:*:*:*
- redhat enterprise linux server eus= 7.5nvdUScpe:2.3:o:redhat:enterprise_linux_server_eus:*:*:*:*:*:*:*:*
- redhat enterprise linux server eus= 7.6nvdUScpe:2.3:o:redhat:enterprise_linux_server_eus:*:*:*:*:*:*:*:*
- redhat enterprise linux server tus= 7.4nvdUScpe:2.3:o:redhat:enterprise_linux_server_tus:*:*:*:*:*:*:*:*
- redhat enterprise linux server tus= 7.6nvdUScpe:2.3:o:redhat:enterprise_linux_server_tus:*:*:*:*:*:*:*:*
- redhat enterprise linux workstation= 7.0nvdUScpe:2.3:o:redhat:enterprise_linux_workstation:*:*:*:*:*:*:*:*
also known as (4)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (45)
External citations — patches, advisories, analysis.
- http://www.securityfocus.com/bid/102204cnnvd
- http://www.securitytracker.com/id/1042004cnnvd
- https://access.redhat.com/errata/RHSA-2018:0378cnnvd
- https://access.redhat.com/errata/RHSA-2018:0583cnnvd
- https://access.redhat.com/errata/RHSA-2018:0584cnnvd
- https://access.redhat.com/errata/RHSA-2018:0585cnnvd
- https://access.redhat.com/errata/RHSA-2019:2806cnnvd
- https://lists.debian.org/debian-lts-announce/2017/12/msg00024.htmlcnnvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan