RHSA-2012:0069

Type: Security
Severity: Moderate
Published: 2012-01-30
Red Hat Enterprise Linux 6

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) Red Hat would like to thank oCERT for reporting this issue. oCERT acknowledges Julian Wälde and Alexander Klink as the original reporters. All users of ruby are advised to upgrade to these updated packages, which contain a backported patch to resolve this issue.

Evidence and freshness

Data current

Last supporting evidence check: 2026-11-28T02:05:22.621Z UTC

Official vendor advisory

Red Hat Enterprise Linux 6

View source
Observed 2026-11-28T02:05:22.621Z UTC. Last updated 2026-10-07T06:32:27.464Z UTC.

Upstream Advisory

Affected Packages

  • ruby 1.8.7.352-4.el6_2

  • ruby-devel 1.8.7.352-4.el6_2

  • ruby-docs 1.8.7.352-4.el6_2

  • ruby-irb 1.8.7.352-4.el6_2

  • ruby-libs 1.8.7.352-4.el6_2

  • ruby-rdoc 1.8.7.352-4.el6_2

  • ruby-ri 1.8.7.352-4.el6_2

  • ruby-static 1.8.7.352-4.el6_2

  • ruby-tcltk 1.8.7.352-4.el6_2

Interested in being alerted when there are new versions of ruby and the other packages? Set up an alert.
RHSA-2012:0069: ruby security update | Package Alert