
CVE catalog
CVE-2017-17405
ruby1.9.1 - security update
- Severity
- High · CVSS 8.3
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L - Published
- Updated
- Source
- [NVD] · [CVE record]
- EPSS
- 73.83% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Alpine | ruby | 3.10 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.11 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.12 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.13 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.14 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.15 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.16 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.17 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.18 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.19 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.20 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.21 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.22 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.23 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.24 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.3 | 2.2.9-r0 | fixed |
| Alpine | ruby | 3.4 | 2.3.6-r0 | fixed |
| Alpine | ruby | 3.5 | 2.3.6-r0 | fixed |
| Alpine | ruby | 3.6 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.7 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.8 | 2.4.3-r0 | fixed |
| Alpine | ruby | 3.9 | 2.4.3-r0 | fixed |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.194-8.1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.3 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.5 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.6 | fixed |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.4 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.5 | fixed |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.4 | fixed |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.194-8.1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.448-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.1 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.2 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.3 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.5 | vulnerable |
| Ubuntu | ruby1.9.1 | 14.04 | 1.9.3.484-2ubuntu1.6 | fixed |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.299-2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.343-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.353-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.1 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.2 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.4 | vulnerable |
| Ubuntu | ruby2.0 | 14.04 | 2.0.0.484-1ubuntu2.5 | fixed |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-4ubuntu3 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.0-5ubuntu1 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.2 | vulnerable |
| Ubuntu | ruby2.3 | 16.04 | 2.3.1-2~16.04.4 | fixed |
| Debian | ruby2.3 | 9 | 2.3.3-1 | vulnerable |
| Debian | ruby2.3 | 9 | 2.3.3-1+deb9u1 | vulnerable |
| Debian | ruby2.3 | 9 | 2.3.3-1+deb9u2 | vulnerable |
| Debian | ruby2.3 | 9 | 2.3.3-1+deb9u3 | fixed |
| Debian | ruby1.8 | 7 | 1.8.7.358-7 | vulnerable |
| Debian | ruby1.8 | 7 | 1.8.7.358-7.1 | vulnerable |
| Debian | ruby1.8 | 7 | 1.8.7.358-7.1+deb7u1 | vulnerable |
| Debian | ruby1.8 | 7 | 1.8.7.358-7.1+deb7u2 | vulnerable |
| Debian | ruby1.8 | 7 | 1.8.7.358-7.1+deb7u3 | vulnerable |
| Debian | ruby1.8 | 7 | 1.8.7.358-7.1+deb7u4 | vulnerable |
| Debian | ruby1.8 | 7 | 1.8.7.358-7.1+deb7u5 | fixed |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u1 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u2 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u3 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u5 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u6 | vulnerable |
| Debian | ruby1.9.1 | 7 | 1.9.3.194-8.1+deb7u7 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Alpine | ruby | apk | 3.10 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.11 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.12 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.13 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.14 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.15 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.16 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.17 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.18 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.19 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.20 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.21 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.22 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.23 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.24 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.3 | 2.2.9-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.4 | 2.3.6-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.5 | 2.3.6-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.6 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.7 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.8 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Alpine | ruby | apk | 3.9 | 2.4.3-r0 | Not reported | ALPINE-CVE-2017-17405 | Not reported |
| Ubuntu | ruby1.9.1 | deb | 14.04 | 1.9.3.484-2ubuntu1.6 | Not reported | UBUNTU-CVE-2017-17405 | Not reported |
| Ubuntu | ruby2.0 | deb | 14.04 | 2.0.0.484-1ubuntu2.5 | Not reported | UBUNTU-CVE-2017-17405 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~16.04.4 | Not reported | UBUNTU-CVE-2017-17405 | Not reported |
| Ubuntu | ruby1.9.1 | deb | 14.04 | 1.9.3.484-2ubuntu1.6 | Not reported | USN-3515-1 | Not reported |
| Ubuntu | ruby2.0 | deb | 14.04 | 2.0.0.484-1ubuntu2.5 | Not reported | USN-3515-1 | Not reported |
| Ubuntu | ruby2.3 | deb | 16.04 | 2.3.1-2~16.04.4 | Not reported | USN-3515-1 | Not reported |
| Debian | ruby2.3 | deb | 9 | 2.3.3-1+deb9u3 | Not reported | DSA-4259-1 | Not reported |
| Debian | ruby1.8 | deb | 7 | 1.8.7.358-7.1+deb7u5 | Not reported | DLA-1222-1 | Not reported |
| Debian | ruby1.9.1 | deb | 7 | 1.9.3.194-8.1+deb7u7 | Not reported | DLA-1221-1 | Not reported |
OpenFactory catalog packages
No matching packages in this catalog.
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2018_0378.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2017-17405]
- [https://osv.dev/vulnerability/DLA-1221-1]
- [https://osv.dev/vulnerability/DLA-1222-1]
- [https://osv.dev/vulnerability/DSA-4259-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2017-17405]
- [https://osv.dev/vulnerability/USN-3515-1]
- [https://security.access.redhat.com/data/csaf/v2/vex/2017/cve-2017-17405.json]
[FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]