Executive Summary



This Alert is flagged as TOP 25 Common Weakness Enumeration from CWE/SANS. For more information, you can read this.
Summary
Title Ruby: Command injection
Informations
Name GLSA-201802-05 First vendor Publication 2018-02-20
Vendor Gentoo Last vendor Modification 2018-02-20
Severity (Vendor) N/A Revision N/A

Security-Database Scoring CVSS v3

Cvss vector : N/A
Overall CVSS Score NA
Base Score NA Environmental Score NA
impact SubScore NA Temporal Score NA
Exploitabality Sub Score NA
 
Calculate full CVSS 3.0 Vectors scores

Security-Database Scoring CVSS v2

Cvss vector : (AV:N/AC:M/Au:N/C:C/I:C/A:C)
Cvss Base Score 9.3 Attack Range Network
Cvss Impact Score 10 Attack Complexity Medium
Cvss Expoit Score 8.6 Authentication None Required
Calculate full CVSS 2.0 Vectors scores

Detail

Synopsis

A vulnerability has been found in Ruby which may allow for arbitrary command execution.

Background

Ruby is an interpreted object-oriented programming language. The elaborate standard library includes an HTTP server (“WEBRick†) and a class for XML parsing (“REXML†).

Description

A command injection flaw was discovered in Net::FTP which impacts Ruby.

Impact

A remote attacker, by enticing a user to download and open a crafted file from a malicious FTP server, could execute arbitrary commands with the privileges of the process.

Workaround

There is no known workaround at this time.

Resolution

All Ruby users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-2.2.9:2.2"

References

[ 1 ] CVE-2017-17405 : https://nvd.nist.gov/vuln/detail/CVE-2017-17405

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website:

https://security.gentoo.org/glsa/201802-05

Original Source

Url : http://security.gentoo.org/glsa/glsa-201802-05.xml

CWE : Common Weakness Enumeration

% Id Name
100 % CWE-78 Improper Sanitization of Special Elements used in an OS Command ('OS Command Injection') (CWE/SANS Top 25)

CPE : Common Platform Enumeration

TypeDescriptionCount
Application 1044
Os 3
Os 1
Os 1
Os 2
Os 3
Os 2
Os 1

Snort® IPS/IDS

Date Description
2018-06-26 Ruby Net FTP library command injection attempt
RuleID : 46791 - Revision : 2 - Type : SERVER-WEBAPP

Nessus® Vulnerability Scanner

Date Description
2018-10-31 Name : The remote host is missing a macOS or Mac OS X security update that fixes mul...
File : macosx_SecUpd2018-005.nasl - Type : ACT_GATHER_INFO
2018-09-18 Name : The remote EulerOS Virtualization host is missing multiple security updates.
File : EulerOS_SA-2018-1248.nasl - Type : ACT_GATHER_INFO
2018-08-17 Name : The remote PhotonOS host is missing multiple security updates.
File : PhotonOS_PHSA-2018-1_0-0098-a.nasl - Type : ACT_GATHER_INFO
2018-08-02 Name : The remote Debian host is missing a security-related update.
File : debian_DSA-4259.nasl - Type : ACT_GATHER_INFO
2018-07-24 Name : The remote PhotonOS host is missing multiple security updates.
File : PhotonOS_PHSA-2018-2_0-0011-a.nasl - Type : ACT_GATHER_INFO
2018-07-17 Name : The remote host is missing a macOS or Mac OS X security update that fixes mul...
File : macosx_SecUpd2018-004.nasl - Type : ACT_GATHER_INFO
2018-07-17 Name : The remote host is missing a macOS update that fixes multiple security vulner...
File : macos_10_13_6.nasl - Type : ACT_GATHER_INFO
2018-07-16 Name : The remote Debian host is missing a security update.
File : debian_DLA-1421.nasl - Type : ACT_GATHER_INFO
2018-03-20 Name : The remote EulerOS host is missing multiple security updates.
File : EulerOS_SA-2018-1067.nasl - Type : ACT_GATHER_INFO
2018-03-20 Name : The remote EulerOS host is missing multiple security updates.
File : EulerOS_SA-2018-1066.nasl - Type : ACT_GATHER_INFO
2018-03-12 Name : The remote CentOS host is missing one or more security updates.
File : centos_RHSA-2018-0378.nasl - Type : ACT_GATHER_INFO
2018-02-20 Name : The remote Gentoo host is missing one or more security-related patches.
File : gentoo_GLSA-201802-05.nasl - Type : ACT_GATHER_INFO
2018-01-29 Name : The remote EulerOS host is missing a security update.
File : EulerOS_SA-2018-1030.nasl - Type : ACT_GATHER_INFO
2018-01-29 Name : The remote EulerOS host is missing a security update.
File : EulerOS_SA-2018-1029.nasl - Type : ACT_GATHER_INFO
2017-12-26 Name : The remote Debian host is missing a security update.
File : debian_DLA-1222.nasl - Type : ACT_GATHER_INFO
2017-12-26 Name : The remote Debian host is missing a security update.
File : debian_DLA-1221.nasl - Type : ACT_GATHER_INFO
2017-12-20 Name : The remote Slackware host is missing a security update.
File : Slackware_SSA_2017-353-01.nasl - Type : ACT_GATHER_INFO
2017-12-19 Name : The remote FreeBSD host is missing one or more security-related updates.
File : freebsd_pkg_dd644964e10e11e780970800271d4b9c.nasl - Type : ACT_GATHER_INFO

Alert History

If you want to see full details history, please login or register.
0
Date Informations
2018-02-20 05:18:08
  • First insertion