Rapid7 Vulnerability & Exploit Database

RHSA-2011:1581: ruby security, bug fix, and enhancement update

Back to Search

RHSA-2011:1581: ruby security, bug fix, and enhancement update

Severity
5
CVSS
(AV:N/AC:L/Au:N/C:P/I:N/A:N)
Published
08/05/2011
Created
07/25/2018
Added
12/16/2011
Modified
07/04/2017

Description

Ruby is an extensible, interpreted, object-oriented, scripting language. Ithas features to process text files and to do system management tasks.It was found that Ruby did not reinitialize the PRNG (pseudorandom numbergenerator) after forking a child process. This could eventually lead to thePRNG returning the same result twice. An attacker keeping track of thevalues returned by one child process could use this flaw to predict thevalues the PRNG would return in other child processes (as long as theparent process persisted). (CVE-2011-3009)A flaw was found in the Ruby SecureRandom module. When using theSecureRandom.random_bytes class, the PRNG state was not modified afterforking a child process. This could eventually lead toSecureRandom.random_bytes returning the same string more than once. Anattacker keeping track of the strings returned by one child process coulduse this flaw to predict the strings SecureRandom.random_bytes would returnin other child processes (as long as the parent process persisted).(CVE-2011-2705)This update also fixes the following bugs:This update also adds the following enhancement:All users of ruby are advised to upgrade to these updated packages, whichresolve these issues and add this enhancement.

Solution(s)

  • redhat-upgrade-ruby
  • redhat-upgrade-ruby-debuginfo
  • redhat-upgrade-ruby-devel
  • redhat-upgrade-ruby-docs
  • redhat-upgrade-ruby-irb
  • redhat-upgrade-ruby-libs
  • redhat-upgrade-ruby-rdoc
  • redhat-upgrade-ruby-ri
  • redhat-upgrade-ruby-static
  • redhat-upgrade-ruby-tcltk

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;