CVE-2017-17405

CRITICALNVD 8.89.0
EchelonGraph scoreHIGH confidence

Score elevated to 9.0 because EPSS predicts 74% probability of exploitation within the next 30 days (top 0.6% of all CVEs). NVD baseline CVSS 8.8 retained for reference. Confidence: see factors.

Triggered by: EPSS exploit prediction ≥85%
Sources: epss, ghsa, nvd
Elevated
9.0EG
EchelonGraph verdictPatch this weekExploitation is likely or a public exploit exists.
  • High exploitation likelihood — EPSS 74%
CISA-KEV: Not listedEPSS PROB: 74%CVSS: 8.8Exploit: Elevated riskExposed: 0

A fix is available — apply it.

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 v3
8.8
EG Score
9.0(high)
EG Risk
75(Track)
EG Risk 75/100SSVC: Track

EG Risk is EchelonGraph's 0–100 priority score: it fuses intrinsic severity with real-world exploitation and automatability so you can rank equal-severity CVEs and fix the most dangerous first. Higher = act sooner. Distinct from the 0–10 EG Score (severity).

How it’s computed
Severity90% × 45%
Exploitation74% × 40%
Automatability30% × 15%
Action: Routine — remediate on your standard cadence.
EPSS PROB
74%
EPSS %ILE
99%
KEV
Not listed

Published

December 15, 2017

Last Modified

June 17, 2026

Advisory Details (10)

Auto-updated May 22, 2026
Patch available. Sources: redhat.
generic Patch Available

[SECURITY] [DLA 1421-1] ruby2.1 security update

https://lists.debian.org/debian-lts-announce/2018/07/msg00012.html
generic Patch Available

[SECURITY] [DLA 1221-1] ruby1.9.1 security update

https://lists.debian.org/debian-lts-announce/2017/12/msg00025.html
generic Patch Available

[SECURITY] [DLA 1222-1] ruby1.8 security update

https://lists.debian.org/debian-lts-announce/2017/12/msg00024.html
redhat Patch Available

Affected: Red Hat Enterprise Linux 7.3 Advanced Update Support, Red Hat Enterprise Linux 7.3 Telco Extended Update Support, and Red Hat

https://access.redhat.com/errata/RHSA-2019:2806
redhat Patch Available

Affected: Red Hat Enterprise Linux 7.

https://access.redhat.com/errata/RHSA-2018:0378

Patch Availability(6)

Vendor / EcosystemFixed in / PatchReleasedSource
ubunturuby2.3 (2.3.3-1ubuntu1.1) @ artful2026-05-22ubuntu
redhatruby-0:2.0.0.648-30.el7_32019-09-19redhat
redhatrh-ruby23-ruby-0:2.3.6-67.el72018-03-26redhat
redhatrh-ruby22-ruby-0:2.2.9-19.el72018-03-26redhat
redhatrh-ruby24-ruby-0:2.4.3-90.el72018-03-26redhat
redhatruby-0:2.0.0.648-33.el7_42018-02-28redhat

Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.

Weakness Classification(1)

MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.

All Vendor Advisories

(6)

Data Freshness Timeline

(refreshed 5× in last 7d / 27× in last 30d)

Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.

  1. 2026-07-25 14:13 UTCEPSS rescore
  2. 2026-07-23 14:15 UTCEPSS rescore
  3. 2026-07-23 01:28 UTCEG score recompute 0.20
  4. 2026-07-22 22:07 UTCEG score recompute 0.20
  5. 2026-07-22 14:04 UTCEPSS rescore
  6. 2026-07-20 17:04 UTCEPSS rescore
  7. 2026-07-20 17:04 UTCEPSS rescore
  8. 2026-07-19 14:28 UTCEPSS rescore
  9. 2026-07-19 14:28 UTCEPSS rescore
  10. 2026-07-19 02:26 UTCEPSS rescore
  11. 2026-07-19 02:26 UTCEPSS rescore
  12. 2026-07-18 10:00 UTCEPSS rescore
  13. 2026-07-16 16:59 UTCEPSS rescore
  14. 2026-07-16 16:59 UTCEPSS rescore
  15. 2026-07-15 16:54 UTCEPSS rescore
  16. 2026-07-15 16:54 UTCEPSS rescore
  17. 2026-07-13 22:26 UTCEPSS rescore
  18. 2026-07-13 06:09 UTCEPSS rescore
  19. 2026-07-11 13:52 UTCOSV refresh
  20. 2026-07-11 08:24 UTCEPSS rescore
  21. 2026-07-06 02:20 UTCEPSS rescore
  22. 2026-07-01 15:02 UTCEPSS rescore
  23. 2026-07-01 15:02 UTCEPSS rescore
  24. 2026-06-30 23:19 UTCEPSS rescore
  25. 2026-06-30 23:19 UTCEPSS rescore
Show 36 more
  1. 2026-06-29 14:03 UTCEPSS rescore
  2. 2026-06-28 04:53 UTCEPSS rescore
  3. 2026-06-25 13:47 UTCEPSS rescore
  4. 2026-06-25 13:47 UTCEPSS rescore
  5. 2026-06-24 14:02 UTCEPSS rescore
  6. 2026-06-23 21:30 UTCEPSS rescore
  7. 2026-06-22 20:35 UTCOSV refresh
  8. 2026-06-21 14:54 UTCEPSS rescore
  9. 2026-06-21 14:54 UTCEPSS rescore
  10. 2026-06-18 17:50 UTCEPSS rescore
  11. 2026-06-17 17:50 UTCEPSS rescore
  12. 2026-06-15 17:45 UTCEPSS rescore
  13. 2026-06-13 22:57 UTCEPSS rescore
  14. 2026-06-12 23:09 UTCEPSS rescore
  15. 2026-06-11 13:57 UTCEPSS rescore
  16. 2026-06-10 22:15 UTCEPSS rescore
  17. 2026-06-07 15:22 UTCEPSS rescore
  18. 2026-06-07 15:22 UTCEPSS rescore
  19. 2026-06-05 22:44 UTCEPSS rescore
  20. 2026-06-05 10:57 UTCOSV refresh
  21. 2026-06-01 13:49 UTCEPSS rescore
  22. 2026-06-01 13:49 UTCEPSS rescore
  23. 2026-05-28 13:42 UTCEPSS rescore
  24. 2026-05-28 13:42 UTCEPSS rescore
  25. 2026-05-26 07:17 UTCEPSS rescore
  26. 2026-05-26 07:17 UTCEPSS rescore
  27. 2026-05-22 21:15 UTCEPSS rescore
  28. 2026-05-22 21:15 UTCEPSS rescore
  29. 2026-05-22 21:15 UTCEPSS rescore
  30. 2026-05-22 07:13 UTCEG score recompute
  31. 2026-05-22 07:13 UTCVendor advisory
  32. 2026-05-22 07:12 UTCGHSA enrichment
  33. 2026-05-20 22:37 UTCEPSS rescore
  34. 2026-05-20 22:37 UTCEPSS rescore
  35. 2026-05-18 21:30 UTCEPSS rescore
  36. 2026-05-18 21:30 UTCEPSS rescore

Publicly available exploits

(1 reference)

Working exploit code is in the public domain (1 Exploit-DB entry). Defenders should treat patch urgency accordingly — public PoCs typically lead to mass-exploitation within 24-72 hours.

  • Exploit-DBEDB-43381
    First seen Dec 2, 2017

    Ruby < 2.2.8 / < 2.3.5 / < 2.4.2 / < 2.5.0-preview1 - 'NET::Ftp' Command Injection

    Open source ↗

Frequently asked(5)

What is CVE-2017-17405?
CVE-2017-17405 is a critical vulnerability published on December 15, 2017. 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…
When was CVE-2017-17405 disclosed?
CVE-2017-17405 was first published in the National Vulnerability Database on December 15, 2017, with the most recent update on June 17, 2026. EchelonGraph re-ingests CVE updates from NVD on a 2-hour cycle, so this page reflects the latest published state.
Is CVE-2017-17405 actively exploited?
CVE-2017-17405 is not currently on CISA's Known Exploited Vulnerabilities catalog. FIRST EPSS estimates a 74% probability of exploitation in the next 30 days, which ranks it in the top 0.6% of all scored CVEs.
What is the CVSS score of CVE-2017-17405?
CVE-2017-17405 has a CVSS v3 base score of 8.8 (NVD). EchelonGraph synthesises NVD + CISA KEV + FIRST EPSS + GHSA into a combined EG score of 9.0.
How do I remediate CVE-2017-17405?
Patch to the fixed version published by the affected vendor. Where vendor advisories exist for CVE-2017-17405, EchelonGraph cross-links them in the Vendor Advisories panel below — those typically contain the canonical remediation steps, fixed version numbers, and any vendor-specific mitigations.

Dependency Blast Radius

Explore the affected products and dependency analysis for CVE-2017-17405

Explore →

Is Your Infrastructure Affected by CVE-2017-17405?

EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.