Issued:
2012-01-30
Updated:
2012-01-30

RHSA-2012:0069 - Moderate: ruby security update


Synopsis

Moderate: ruby security update

Type/Severity

Security Advisory Moderate

Topic

Updated ruby packages that fix one security issue are now available for Red Hat Enterprise Linux 6.

The Red Hat Security Response Team has rated this update as having moderate security impact. A Common Vulnerability Scoring System (CVSS) base score, which gives a detailed severity rating, is available from the CVE link in the References section.

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)

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.

Solution

Before applying this update, make sure all previously-released errata relevant to your system have been applied.

This update is available via the Red Hat Network. Details on how to use the Red Hat Network to apply this update are available at This content is not included.https://access.redhat.com/kb/docs/DOC-11259

Affected Products

ProductVersionArch
Red Hat Storage2.0x86_64
Red Hat Storage for Public Cloud (via RHUI)2.0x86_64
Red Hat Gluster Storage Server for On-premise2.0x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support6.2x86_64
Red Hat Enterprise Linux for x86_64 - Extended Update Support6.2i386
Red Hat Enterprise Linux for Scientific Computing6x86_64
Red Hat Enterprise Linux for Power, big endian6ppc64
Red Hat Enterprise Linux for Power, big endian - Extended Update Support6.2ppc64
Red Hat Enterprise Linux for IBM z Systems6s390x
Red Hat Enterprise Linux for IBM z Systems - Extended Update Support6.2s390x
Red Hat Enterprise Linux Workstation6x86_64
Red Hat Enterprise Linux Workstation6i386
Red Hat Enterprise Linux Server6x86_64
Red Hat Enterprise Linux Server6i386
Red Hat Enterprise Linux Server from RHUI6x86_64
Red Hat Enterprise Linux Server from RHUI6i386
Red Hat Enterprise Linux Server - Retired Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Update Support from RHUI6.2x86_64
Red Hat Enterprise Linux Server - Extended Update Support from RHUI6.2i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6x86_64
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension6i386
Red Hat Enterprise Linux Server - Extended Life Cycle Support Extension (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - Extended Life Cycle Support (for IBM z Systems)6s390x
Red Hat Enterprise Linux Server - AUS6.2x86_64
Red Hat Enterprise Linux Desktop6x86_64
Red Hat Enterprise Linux Desktop6i386

Updated Packages

  • ruby-rdoc-1.8.7.352-4.el6_2.i686.rpm
  • ruby-1.8.7.352-4.el6_2.i686.rpm
  • ruby-devel-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-libs-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-debuginfo-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-devel-1.8.7.352-4.el6_2.ppc.rpm
  • ruby-libs-1.8.7.352-4.el6_2.ppc.rpm
  • ruby-libs-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-devel-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
  • ruby-ri-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-rdoc-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-rdoc-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-static-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-devel-1.8.7.352-4.el6_2.i686.rpm
  • ruby-docs-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-docs-1.8.7.352-4.el6_2.i686.rpm
  • ruby-tcltk-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-irb-1.8.7.352-4.el6_2.i686.rpm
  • ruby-irb-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-devel-1.8.7.352-4.el6_2.s390.rpm
  • ruby-ri-1.8.7.352-4.el6_2.i686.rpm
  • ruby-debuginfo-1.8.7.352-4.el6_2.ppc.rpm
  • ruby-rdoc-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-ri-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-debuginfo-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-static-1.8.7.352-4.el6_2.i686.rpm
  • ruby-devel-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-docs-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-tcltk-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-static-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-tcltk-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-irb-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-libs-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-debuginfo-1.8.7.352-4.el6_2.s390.rpm
  • ruby-1.8.7.352-4.el6_2.src.rpm
  • ruby-ri-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-docs-1.8.7.352-4.el6_2.ppc64.rpm
  • ruby-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-static-1.8.7.352-4.el6_2.s390x.rpm
  • ruby-tcltk-1.8.7.352-4.el6_2.i686.rpm
  • ruby-libs-1.8.7.352-4.el6_2.i686.rpm
  • ruby-irb-1.8.7.352-4.el6_2.x86_64.rpm
  • ruby-libs-1.8.7.352-4.el6_2.s390.rpm

Fixes

CVEs

References


Additional information