Home / mailings [gentoo-announce] [ GLSA 201802-05 ] Ruby: Command injection
Posted on 20 February 2018
Gentoo-announceThis is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--fa7l5G1rd1V42ZxooqoSHsc1zHhRoU0Ul
Content-Type: multipart/mixed; boundary="gMCali91aGj0lkCVg8ecPQXvNARv4ga4X";
protected-headers="v1"
From: Thomas Deutschmann <whissi@gentoo.org>
Reply-To: security@gentoo.org
To: gentoo-announce@lists.gentoo.org
Message-ID: <7e5c9e03-b184-d159-33b2-af2de86f67b1@gentoo.org>
Subject: [ GLSA 201802-05 ] Ruby: Command injection
--gMCali91aGj0lkCVg8ecPQXvNARv4ga4X
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 201802-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
https://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Severity: Normal
Title: Ruby: Command injection
Date: February 20, 2018
Bugs: #641090
ID: 201802-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
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 (=E2=80=9CWEBRick=E2=80==9D) and a
class for XML parsing (=E2=80=9CREXML=E2=80=9D).
Affected packages
=================
-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/ruby < 2.2.9:2.2 >= 2.2.9:2.2
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
Concerns?
=========
Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users' machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
https://bugs.gentoo.org.
License
=======
Copyright 2018 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).
The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.
https://creativecommons.org/licenses/by-sa/2.5
--gMCali91aGj0lkCVg8ecPQXvNARv4ga4X--
--fa7l5G1rd1V42ZxooqoSHsc1zHhRoU0Ul
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"