CVE-2017-17405

Scores

EPSS

0.886high88.6%
0%20%40%60%80%100%

Percentile: 88.6%

CVSS

6.3medium3.x
0246810

CVSS Score: 6.3/10

All CVSS Scores

CVSS 3.x
6.3

Vector: CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:L

CVSS 2.0
9.3

Vector: AV:N/AC:M/Au:N/C:C/I:C/A:C

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.

Scaner-VS 7 — a modern vulnerability management solution

Uses this database for vulnerability detection. High-speed search, cross-platform, advanced configuration audit, and flexible filtering. Suitable for organizations of any size.
Learn more about Scaner-VS 7

Sources

astradebiannvdredhatubuntu

CWEs

CWE-20CWE-78

Related Vulnerabilities

Exploits

Exploit ID: 43381

Source: exploitdb

URL: https://www.exploit-db.com/exploits/43381

Recommendations

Source: nvd

For details on how to apply this update, which includes the changes described in this advisory, refer to:
https://access.redhat.com/articles/11258

URL: https://access.redhat.com/errata/RHSA-2018:0584

Vulnerable Software (48)

Type: Configuration

Product: irb

Operating System: altlinux

Trait:
{  "fixed": "0:2.5.0-alt1"}

Source: redhat

Type: Configuration

Product: libruby

Operating System: altlinux

Trait:
{  "fixed": "0:2.5.0-alt1"}

Source: redhat

Type: Configuration

Product: libruby-devel

Operating System: altlinux

Trait:
{  "fixed": "0:2.5.0-alt1"}

Source: redhat

Type: Configuration

Product: libruby-devel-static

Operating System: altlinux

Trait:
{  "fixed": "0:2.5.0-alt1"}

Source: redhat

Type: Configuration

Product: rh-ruby22-ruby

Operating System: rhel

Trait:
{  "fixed": "2.2.9-19.el6"}

Source: redhat

Type: Configuration

Product: rh-ruby22-ruby

Operating System: rhel

Trait:
{  "fixed": "2.2.9-19.el6"}

Source: redhat

Type: Configuration

Product: rh-ruby22-ruby

Operating System: rhel

Trait:
{  "fixed": "2.2.9-19.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby22-ruby

Operating System: rhel

Trait:
{  "fixed": "2.2.9-19.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby22-ruby

Operating System: rhel

Trait:
{  "fixed": "2.2.9-19.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby23-ruby

Operating System: rhel

Trait:
{  "fixed": "2.3.6-67.el6"}

Source: redhat

Type: Configuration

Product: rh-ruby23-ruby

Operating System: rhel

Trait:
{  "fixed": "2.3.6-67.el6"}

Source: redhat

Type: Configuration

Product: rh-ruby23-ruby

Operating System: rhel

Trait:
{  "fixed": "2.3.6-67.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby23-ruby

Operating System: rhel

Trait:
{  "fixed": "2.3.6-67.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby23-ruby

Operating System: rhel

Trait:
{  "fixed": "2.3.6-67.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby24-ruby

Operating System: rhel

Trait:
{  "fixed": "2.4.3-90.el6"}

Source: redhat

Type: Configuration

Product: rh-ruby24-ruby

Operating System: rhel

Trait:
{  "fixed": "2.4.3-90.el6"}

Source: redhat

Type: Configuration

Product: rh-ruby24-ruby

Operating System: rhel

Trait:
{  "fixed": "2.4.3-90.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby24-ruby

Operating System: rhel

Trait:
{  "fixed": "2.4.3-90.el7"}

Source: redhat

Type: Configuration

Product: rh-ruby24-ruby

Operating System: rhel

Trait:
{  "fixed": "2.4.3-90.el7"}

Source: redhat

Type: Configuration

Product: ri

Operating System: altlinux

Trait:
{  "fixed": "0:2.5.0-alt1"}

Source: redhat