RCE in Ruby-lang Ruby
CVE-2017-17405
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 comm…
Vulnerability class: Command Injection (OS Command Injection)
EPSS: 0.886 (99.5th percentile) — read the EPSS interpretation.
CVSS v3 metric
CVSS v3 base score 8.8 (High). Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.
Affected products
- Ruby-lang Ruby — versions 2.5.0
- Debian Debian_linux — versions 7.0, 8.0, 9.0
- Redhat Enterprise_linux_desktop — versions 7.0
- Redhat Enterprise_linux_server — versions 7.0
- Redhat Enterprise_linux_server_aus — versions 7.4, 7.6
- Redhat Enterprise_linux_server_eus — versions 7.4, 7.5, 7.6
- Redhat Enterprise_linux_server_tus — versions 7.4, 7.6
- Redhat Enterprise_linux_workstation — versions 7.0
- N/a — versions n/a
Weakness classification (CWE)
Public proof-of-concept exploits
References
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_BID)
- cve@mitre.org (VDB Entry, Third Party Advisory, vdb-entry, x_refsource_SECTRACK)
- cve@mitre.org (x_refsource_CONFIRM, Vendor Advisory)
- cve@mitre.org (Exploit, VDB Entry, Third Party Advisory, exploit, x_refsource_EXPLOIT-DB)
- cve@mitre.org (x_refsource_REDHAT, vendor-advisory, Third Party Advisory)
- cve@mitre.org (x_refsource_CONFIRM, Patch, Release Notes, Vendor Advisory)
- cve@mitre.org (mailing-list, x_refsource_MLIST, Mailing List, Third Party Advisory)
Frequently asked questions
- What is CVE-2017-17405?
- CVE-2017-17405 is a high-severity vulnerability in Ruby-lang Ruby, classified under OS Command Injection. CVSS score: 8.8/10. Published 2017-12-15.
- How severe is CVE-2017-17405?
- High severity. CVSS v3 base score is 8.8 out of 10.
- Is CVE-2017-17405 known to be exploited?
- 23 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.