GLSA 201802-05: Ruby: Command injection

Severity:normal
Title:Ruby: Command injection
Date:02/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 (“WEBRick”) and a class for XML parsing (“REXML”).

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-lang/ruby < 2.2.9 >= 2.2.9 All supported architectures

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

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-201802-05.xml

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 2010 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.

Thank you!