GLSA-201802-05 : Ruby: Command injection

Medium Nessus Plugin ID 106886


The remote Gentoo host is missing one or more security-related patches.


The remote host is affected by the vulnerability described in GLSA-201802-05 (Ruby: Command injection)

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.


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

See Also

Plugin Details

Severity: Medium

ID: 106886

File Name: gentoo_GLSA-201802-05.nasl

Version: $Revision: 3.1 $

Type: local

Published: 2018/02/20

Modified: 2018/02/20

Dependencies: 12634

Risk Information

Risk Factor: Medium

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:ruby, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2018/02/20

Reference Information

GLSA: 201802-05