CVE-2017-17405

Advisory lineage Upstream: 0 Downstream: 14
Modified
Published: 15 Dec 2017, 09:00
Last modified:05 Aug 2024, 20:51

Vulnerability Summary

Overall Risk (default)
high
70/100
CVSS Score
9.3 HIGH
v2.0 (nvd)
EPSS Score
88.65% CRITICAL
89% probability 0.00%
KEV
Not listed
Ransomware
No reports
Public exploits
1 found
Dark Web
Not detected

Timeline

15 Dec 2017, 09:00
Published
Vulnerability first disclosed
05 Aug 2024, 20:51
Last Modified
Vulnerability 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

  • v3.0HIGHScore: 8.8CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • v2.0HIGHScore: 9.3AV:N/AC:M/Au:N/C:C/I:C/A:C

EPSS Trends

Current EPSS score: 88.65% Percentile: 100%

Techniques & Countermeasures

  • CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

    The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Affected Systems

  • debiandebian_linux

    7.0 | 8.0 | 9.0

  • redhatenterprise_linux_desktop

    7.0

  • redhatenterprise_linux_server

    7.0

  • redhatenterprise_linux_server_aus

    7.4 | 7.6

  • redhatenterprise_linux_server_eus

    7.4 | 7.5 | 7.6

  • redhatenterprise_linux_server_tus

    7.4 | 7.6

  • redhatenterprise_linux_workstation

    7.0

  • ruby-langruby

    ≥ 2.2, ≤ 2.2.8 | ≥ 2.3, ≤ 2.3.5 | ≥ 2.4, ≤ 2.4.2 | 2.5.0:preview1

References (14)