Oval Definition:oval:com.redhat.rhsa:def:20120070
Revision Date:2012-01-30Version:634
Title:RHSA-2012:0070: ruby security update (Moderate)
Description:Ruby is an extensible, interpreted, object-oriented, scripting language. It has features to process text files and to do system management tasks.

  • A denial of service flaw was found in the implementation of associative arrays (hashes) in Ruby. An attacker able to supply a large number of inputs to a Ruby application (such as HTTP POST request parameters sent to a web application) that are used as keys when inserting data into an array could trigger multiple hash function collisions, making array operations take an excessive amount of CPU time. To mitigate this issue, randomization has been added to the hash function to reduce the chance of an attacker successfully causing intentional collisions. (CVE-2011-4815)

  • It was found that Ruby did not reinitialize the PRNG (pseudorandom number generator) after forking a child process. This could eventually lead to the PRNG returning the same result twice. An attacker keeping track of the values returned by one child process could use this flaw to predict the values the PRNG would return in other child processes (as long as the parent process persisted). (CVE-2011-3009)

    Red Hat would like to thank oCERT for reporting CVE-2011-4815. oCERT acknowledges Julian Wälde and Alexander Klink as the original reporters of CVE-2011-4815.

    All users of ruby are advised to upgrade to these updated packages, which contain backported patches to resolve these issues.
  • Family:unixClass:patch
    Status:Reference(s):CVE-2011-3009
    CVE-2011-4815
    RHSA-2012:0070
    RHSA-2012:0070-01
    RHSA-2012:0070-01
    Platform(s):Red Hat Enterprise Linux 4
    Red Hat Enterprise Linux 5
    Product(s):
    Definition Synopsis
  • Red Hat Enterprise Linux must be installed
  • OR Package Information
  • Red Hat Enterprise Linux 4 is installed
  • AND
  • irb is earlier than 0:1.8.1-18.el4
  • AND irb is signed with Red Hat redhatrelease2 key
  • ruby is earlier than 0:1.8.1-18.el4
  • AND ruby is signed with Red Hat redhatrelease2 key
  • ruby-devel is earlier than 0:1.8.1-18.el4
  • AND ruby-devel is signed with Red Hat redhatrelease2 key
  • ruby-docs is earlier than 0:1.8.1-18.el4
  • AND ruby-docs is signed with Red Hat redhatrelease2 key
  • ruby-libs is earlier than 0:1.8.1-18.el4
  • AND ruby-libs is signed with Red Hat redhatrelease2 key
  • ruby-mode is earlier than 0:1.8.1-18.el4
  • AND ruby-mode is signed with Red Hat redhatrelease2 key
  • ruby-tcltk is earlier than 0:1.8.1-18.el4
  • AND ruby-tcltk is signed with Red Hat redhatrelease2 key
  • OR Package Information
  • Red Hat Enterprise Linux 5 is installed
  • AND
  • ruby is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby is signed with Red Hat redhatrelease2 key
  • ruby-devel is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-devel is signed with Red Hat redhatrelease2 key
  • ruby-docs is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-docs is signed with Red Hat redhatrelease2 key
  • ruby-irb is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-irb is signed with Red Hat redhatrelease2 key
  • ruby-libs is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-libs is signed with Red Hat redhatrelease2 key
  • ruby-mode is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-mode is signed with Red Hat redhatrelease2 key
  • ruby-rdoc is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-rdoc is signed with Red Hat redhatrelease2 key
  • ruby-ri is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-ri is signed with Red Hat redhatrelease2 key
  • ruby-tcltk is earlier than 0:1.8.5-22.el5_7.1
  • AND ruby-tcltk is signed with Red Hat redhatrelease2 key
  • BACK