Red Hat Security Advisory 2012-0069-01 - 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 in Ruby. An attacker able to supply a large number of inputs to a Ruby 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.
f7e42c50959c0fb32cbaa649ddc8262f37b293afa41649f8324f881d14fac350
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
=====================================================================
Red Hat Security Advisory
Synopsis: Moderate: ruby security update
Advisory ID: RHSA-2012:0069-01
Product: Red Hat Enterprise Linux
Advisory URL: https://rhn.redhat.com/errata/RHSA-2012-0069.html
Issue date: 2012-01-30
CVE Names: CVE-2011-4815
=====================================================================
1. Summary:
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.
2. Relevant releases/architectures:
Red Hat Enterprise Linux Desktop (v. 6) - i386, x86_64
Red Hat Enterprise Linux Desktop Optional (v. 6) - i386, x86_64
Red Hat Enterprise Linux HPC Node (v. 6) - x86_64
Red Hat Enterprise Linux HPC Node Optional (v. 6) - x86_64
Red Hat Enterprise Linux Server (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Server Optional (v. 6) - i386, ppc64, s390x, x86_64
Red Hat Enterprise Linux Workstation (v. 6) - i386, x86_64
Red Hat Enterprise Linux Workstation Optional (v. 6) - i386, x86_64
3. 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.
4. 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
https://access.redhat.com/kb/docs/DOC-11259
5. Bugs fixed (http://bugzilla.redhat.com/):
750564 - CVE-2011-4815 ruby: hash table collisions CPU usage DoS (oCERT-2011-003)
6. Package List:
Red Hat Enterprise Linux Desktop (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
i386:
ruby-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-irb-1.8.7.352-4.el6_2.i686.rpm
ruby-libs-1.8.7.352-4.el6_2.i686.rpm
x86_64:
ruby-1.8.7.352-4.el6_2.x86_64.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-irb-1.8.7.352-4.el6_2.x86_64.rpm
ruby-libs-1.8.7.352-4.el6_2.i686.rpm
ruby-libs-1.8.7.352-4.el6_2.x86_64.rpm
Red Hat Enterprise Linux Desktop Optional (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Client/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
i386:
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-devel-1.8.7.352-4.el6_2.i686.rpm
ruby-docs-1.8.7.352-4.el6_2.i686.rpm
ruby-rdoc-1.8.7.352-4.el6_2.i686.rpm
ruby-ri-1.8.7.352-4.el6_2.i686.rpm
ruby-static-1.8.7.352-4.el6_2.i686.rpm
ruby-tcltk-1.8.7.352-4.el6_2.i686.rpm
x86_64:
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-devel-1.8.7.352-4.el6_2.i686.rpm
ruby-devel-1.8.7.352-4.el6_2.x86_64.rpm
ruby-docs-1.8.7.352-4.el6_2.x86_64.rpm
ruby-rdoc-1.8.7.352-4.el6_2.x86_64.rpm
ruby-ri-1.8.7.352-4.el6_2.x86_64.rpm
ruby-static-1.8.7.352-4.el6_2.x86_64.rpm
ruby-tcltk-1.8.7.352-4.el6_2.x86_64.rpm
Red Hat Enterprise Linux HPC Node (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
x86_64:
ruby-1.8.7.352-4.el6_2.x86_64.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-irb-1.8.7.352-4.el6_2.x86_64.rpm
ruby-libs-1.8.7.352-4.el6_2.i686.rpm
ruby-libs-1.8.7.352-4.el6_2.x86_64.rpm
Red Hat Enterprise Linux HPC Node Optional (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6ComputeNode/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
x86_64:
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-devel-1.8.7.352-4.el6_2.i686.rpm
ruby-devel-1.8.7.352-4.el6_2.x86_64.rpm
ruby-docs-1.8.7.352-4.el6_2.x86_64.rpm
ruby-rdoc-1.8.7.352-4.el6_2.x86_64.rpm
ruby-ri-1.8.7.352-4.el6_2.x86_64.rpm
ruby-static-1.8.7.352-4.el6_2.x86_64.rpm
ruby-tcltk-1.8.7.352-4.el6_2.x86_64.rpm
Red Hat Enterprise Linux Server (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
i386:
ruby-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-irb-1.8.7.352-4.el6_2.i686.rpm
ruby-libs-1.8.7.352-4.el6_2.i686.rpm
ppc64:
ruby-1.8.7.352-4.el6_2.ppc64.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.ppc.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.ppc64.rpm
ruby-irb-1.8.7.352-4.el6_2.ppc64.rpm
ruby-libs-1.8.7.352-4.el6_2.ppc.rpm
ruby-libs-1.8.7.352-4.el6_2.ppc64.rpm
s390x:
ruby-1.8.7.352-4.el6_2.s390x.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.s390.rpm
ruby-debuginfo-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.s390.rpm
ruby-libs-1.8.7.352-4.el6_2.s390x.rpm
x86_64:
ruby-1.8.7.352-4.el6_2.x86_64.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-irb-1.8.7.352-4.el6_2.x86_64.rpm
ruby-libs-1.8.7.352-4.el6_2.i686.rpm
ruby-libs-1.8.7.352-4.el6_2.x86_64.rpm
Red Hat Enterprise Linux Server Optional (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Server/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
i386:
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-devel-1.8.7.352-4.el6_2.i686.rpm
ruby-docs-1.8.7.352-4.el6_2.i686.rpm
ruby-rdoc-1.8.7.352-4.el6_2.i686.rpm
ruby-ri-1.8.7.352-4.el6_2.i686.rpm
ruby-static-1.8.7.352-4.el6_2.i686.rpm
ruby-tcltk-1.8.7.352-4.el6_2.i686.rpm
ppc64:
ruby-debuginfo-1.8.7.352-4.el6_2.ppc.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.ppc64.rpm
ruby-devel-1.8.7.352-4.el6_2.ppc.rpm
ruby-devel-1.8.7.352-4.el6_2.ppc64.rpm
ruby-docs-1.8.7.352-4.el6_2.ppc64.rpm
ruby-rdoc-1.8.7.352-4.el6_2.ppc64.rpm
ruby-ri-1.8.7.352-4.el6_2.ppc64.rpm
ruby-static-1.8.7.352-4.el6_2.ppc64.rpm
ruby-tcltk-1.8.7.352-4.el6_2.ppc64.rpm
s390x:
ruby-debuginfo-1.8.7.352-4.el6_2.s390.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.s390x.rpm
ruby-devel-1.8.7.352-4.el6_2.s390.rpm
ruby-devel-1.8.7.352-4.el6_2.s390x.rpm
ruby-docs-1.8.7.352-4.el6_2.s390x.rpm
ruby-rdoc-1.8.7.352-4.el6_2.s390x.rpm
ruby-ri-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.s390x.rpm
x86_64:
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-devel-1.8.7.352-4.el6_2.i686.rpm
ruby-devel-1.8.7.352-4.el6_2.x86_64.rpm
ruby-docs-1.8.7.352-4.el6_2.x86_64.rpm
ruby-rdoc-1.8.7.352-4.el6_2.x86_64.rpm
ruby-ri-1.8.7.352-4.el6_2.x86_64.rpm
ruby-static-1.8.7.352-4.el6_2.x86_64.rpm
ruby-tcltk-1.8.7.352-4.el6_2.x86_64.rpm
Red Hat Enterprise Linux Workstation (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
i386:
ruby-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-irb-1.8.7.352-4.el6_2.i686.rpm
ruby-libs-1.8.7.352-4.el6_2.i686.rpm
x86_64:
ruby-1.8.7.352-4.el6_2.x86_64.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-irb-1.8.7.352-4.el6_2.x86_64.rpm
ruby-libs-1.8.7.352-4.el6_2.i686.rpm
ruby-libs-1.8.7.352-4.el6_2.x86_64.rpm
Red Hat Enterprise Linux Workstation Optional (v. 6):
Source:
ftp://ftp.redhat.com/pub/redhat/linux/enterprise/6Workstation/en/os/SRPMS/ruby-1.8.7.352-4.el6_2.src.rpm
i386:
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-devel-1.8.7.352-4.el6_2.i686.rpm
ruby-docs-1.8.7.352-4.el6_2.i686.rpm
ruby-rdoc-1.8.7.352-4.el6_2.i686.rpm
ruby-ri-1.8.7.352-4.el6_2.i686.rpm
ruby-static-1.8.7.352-4.el6_2.i686.rpm
ruby-tcltk-1.8.7.352-4.el6_2.i686.rpm
x86_64:
ruby-debuginfo-1.8.7.352-4.el6_2.i686.rpm
ruby-debuginfo-1.8.7.352-4.el6_2.x86_64.rpm
ruby-devel-1.8.7.352-4.el6_2.i686.rpm
ruby-devel-1.8.7.352-4.el6_2.x86_64.rpm
ruby-docs-1.8.7.352-4.el6_2.x86_64.rpm
ruby-rdoc-1.8.7.352-4.el6_2.x86_64.rpm
ruby-ri-1.8.7.352-4.el6_2.x86_64.rpm
ruby-static-1.8.7.352-4.el6_2.x86_64.rpm
ruby-tcltk-1.8.7.352-4.el6_2.x86_64.rpm
These packages are GPG signed by Red Hat for security. Our key and
details on how to verify the signature are available from
https://access.redhat.com/security/team/key/#package
7. References:
https://www.redhat.com/security/data/cve/CVE-2011-4815.html
https://access.redhat.com/security/updates/classification/#moderate
http://www.ocert.org/advisories/ocert-2011-003.html
8. Contact:
The Red Hat security contact is <secalert@redhat.com>. More contact
details at https://access.redhat.com/security/team/contact/
Copyright 2012 Red Hat, Inc.
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.4 (GNU/Linux)
iD8DBQFPJuN1XlSAg2UNWIIRAk4gAKC5G9QS26DETTvyPZiIg+7upnHyQQCfXhFW
7gRSSruvMGRhJgNh5V2hobY=
=ng5x
-----END PGP SIGNATURE-----
--
RHSA-announce mailing list
RHSA-announce@redhat.com
https://www.redhat.com/mailman/listinfo/rhsa-announce