CentOS Errata and Security Advisory CESA-2012:0069
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.
Merged security bulletin from advisories: http://lists.centos.org/pipermail/centos-announce/2012-January/030438.html http://lists.centos.org/pipermail/centos-announce/2012-January/030441.html
Affected packages: ruby ruby-devel ruby-docs ruby-irb ruby-libs ruby-rdoc ruby-ri ruby-static ruby-tcltk
Upstream details at: https://rhn.redhat.com/errata/RHSA-2012-0069.html