CVE-2017-17405: debian debian_linux
Vulnerability summary
CVE-2017-17405 is a high (CVSS 9.3) vulnerability in debian debian_linux. EPSS estimates a 73.83% chance of exploitation in the next 30 days, higher than 99.4% of scored vulnerabilities. 1 public exploit is recorded.
Public exploit (exploit-database, 02-12-2017)
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 10 · Related 1Timeline
- 15-12-2017PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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 metrics
5 scores · 4 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated6.3MediumCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:LDiffers
- OSV · UbuntuEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
73.83%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
No change 0.00 pp
From 73.83% on 04-10-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundRuby < 2.2.8 / < 2.3.5 / < 2.4.2 / < 2.5.0-preview1 - 'NET::Ftp' Command Injection
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, user interaction (CVSS vector). Other conditions: not stated in public data.
Redhat22 products
- enterprise_linux_desktop7.0
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.4 | 7.6
- enterprise_linux_server_eus7.4 | 7.5 | 7.6
- enterprise_linux_server_tus7.4 | 7.6
Ubuntu3 products
- ruby1.9.1< 1.9.3.484-2ubuntu1.6
- ruby2.0< 2.0.0.484-1ubuntu2.5
- ruby2.3< 2.3.1-2~16.04.4
Alpine1 product
- ruby≥ 2.2, < 2.4.3-r0 | ≥ 2.2, < 2.2.9-r0 | ≥ 2.2, < 2.3.6-r0
Debian1 product
- debian_linuxEOL7.0 | 8.0 | 9.0
Ruby-lang1 product
- rubyEOL≥ 2.2, ≤ 2.2.8 | ≥ 2.3, ≤ 2.3.5 | ≥ 2.4, ≤ 2.4.2 | 2.5.0:preview1
5 vendors · 28 products
References
24 links- lists.debian.org/debian-lts-announce/2017/12/msg00024.htmlMailing ListX Refsource MLISTThird Party Advisory
- www.ruby-lang.org/en/news/2017/12/14/net-ftp-command-injection-cve-2017-17405/X Refsource CONFIRMVendor AdvisoryARTICLEREPORT
- www.ruby-lang.org/en/news/2017/12/14/ruby-2-4-3-released/X Refsource CONFIRMPatchRelease NotesVendor AdvisoryREPORT
- lists.debian.org/debian-lts-announce/2018/07/msg00012.htmlMailing ListX Refsource MLISTThird Party Advisory
Show all 24 references
- lists.debian.org/debian-lts-announce/2017/12/msg00025.htmlMailing ListX Refsource MLISTThird Party Advisory