-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
             AUSCERT External Security Bulletin Redistribution

                               ESB-2012.0094
                      Moderate: ruby security update
                              31 January 2012

===========================================================================

        AusCERT Security Bulletin Summary
        ---------------------------------

Product:          ruby
Publisher:        Red Hat
Operating System: Red Hat Enterprise Linux Server 6
                  Red Hat Enterprise Linux WS/Desktop 6
                  UNIX variants (UNIX, Linux, OSX)
                  Windows
Impact/Access:    Denial of Service -- Remote/Unauthenticated
Resolution:       Patch/Upgrade
CVE Names:        CVE-2011-4815  

Reference:        ESB-2012.0012

Comment: This advisory references vulnerabilities in products which run on 
         platforms other than Red Hat. It is recommended that administrators
         running ruby check for an updated version of the software for their
         operating system.

- --------------------------BEGIN INCLUDED TEXT--------------------

- -----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-----

- --------------------------END INCLUDED TEXT--------------------

You have received this e-mail bulletin as a result of your organisation's
registration with AusCERT. The mailing list you are subscribed to is
maintained within your organisation, so if you do not wish to continue
receiving these bulletins you should contact your local IT manager. If
you do not know who that is, please send an email to auscert@auscert.org.au
and we will forward your request to the appropriate person.

NOTE: Third Party Rights
This security bulletin is provided as a service to AusCERT's members.  As
AusCERT did not write the document quoted above, AusCERT has had no control
over its content. The decision to follow or act on information or advice
contained in this security bulletin is the responsibility of each user or
organisation, and should be considered in accordance with your organisation's
site policies and procedures. AusCERT takes no responsibility for consequences
which may arise from following or acting on information or advice contained in
this security bulletin.

NOTE: This is only the original release of the security bulletin.  It may
not be updated when updates to the original are made.  If downloading at
a later date, it is recommended that the bulletin is retrieved directly
from the author's website to ensure that the information is still current.

Contact information for the authors of the original document is included
in the Security Bulletin above.  If you have any questions or need further
information, please contact them directly.

Previous advisories and external security bulletins can be retrieved from:

        http://www.auscert.org.au/render.html?cid=1980

===========================================================================
Australian Computer Emergency Response Team
The University of Queensland
Brisbane
Qld 4072

Internet Email: auscert@auscert.org.au
Facsimile:      (07) 3365 7031
Telephone:      (07) 3365 4417 (International: +61 7 3365 4417)
                AusCERT personnel answer during Queensland business hours
                which are GMT+10:00 (AEST).
                On call after hours for member emergencies only.
===========================================================================
-----BEGIN PGP SIGNATURE-----
Comment: http://www.auscert.org.au/render.html?it=1967

iQIVAwUBTydSG+4yVqjM2NGpAQKjzhAAk2h4aU3RUcUuLDnvd7IKAaPx7z7APxXI
QltAJhSBnOVmQuZWQyf9rZWidIO/0/SdTezQQL0aeC1qPQSXekvw30/ByLF2s9/K
6s8vyGBKQlDs99edIlcS0RQwua+hJdpYxw9UVXsHgy/Y/h05v0I9aerm36icyuWG
+a2NMffAwym+isDGyZgLCZcIlevw/XMGxepAXGVZEbatizHm+YA6TRlTHGUFiN6W
PFny/9mW17/wb6KuFdS2SRV7mkAg6dx+C/uHEcbfHdE3Kv2Rh/eDHQBl/pErNTCz
sAnrujyplIx0zRP+acNNZLUpujvxWqkbxzo1Phrmyj0EnNaXDtSj6wa4mQDWPEG0
gCDYoNANN2ee7FvMvSirJ8GJ7m8+hDhEardmfBdDKrSPlMlpO/WODu68k+y0+390
YFuPGLR3bNlMecXrWfN1JBsf7FvwQbP3hlsJn78cxu2yD80y2DrZTCvepIiYHpe9
uErczLNfNx0eT++aCRO4RXRtFmMHJNJ6oAF/56Nw8VSRopdlh4O6rtFMTpsm+lAe
FRttpn3wFYyXRL/s4S1Gzs3Y/XifXuOa2WqLVuLxU+sFfHpbdjIsI6788P2TZvSS
5+8lgYLAK3w6kruuWdhTJgOoNQ7gamUNs7r2L92Rg63M6zCL6yvDuuaumn6aMHeV
Mo3R6aCbUiA=
=lzbD
-----END PGP SIGNATURE-----