Protect yourself against future threats.
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 =========================================================================== AUSCERT External Security Bulletin Redistribution ESB-2011.1213 Low: ruby security, bug fix, and enhancement update 7 December 2011 =========================================================================== 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: Reduced Security -- Remote/Unauthenticated Resolution: Patch/Upgrade CVE Names: CVE-2011-3009 CVE-2011-2705 Original Bulletin: https://rhn.redhat.com/errata/RHSA-2011-1581.html 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: Low: ruby security, bug fix, and enhancement update Advisory ID: RHSA-2011:1581-03 Product: Red Hat Enterprise Linux Advisory URL: https://rhn.redhat.com/errata/RHSA-2011-1581.html Issue date: 2011-12-06 CVE Names: CVE-2011-2705 CVE-2011-3009 ===================================================================== 1. Summary: Updated ruby packages that fix two security issues, various bugs, and add one enhancement are now available for Red Hat Enterprise Linux 6. The Red Hat Security Response Team has rated this update as having low security impact. Common Vulnerability Scoring System (CVSS) base scores, which give detailed severity ratings, are available for each vulnerability from the CVE links 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. It was found that Ruby did not reinitialize the PRNG (pseudorandom number generator) after forking a child process. This could eventually lead to the PRNG returning the same result twice. An attacker keeping track of the values returned by one child process could use this flaw to predict the values the PRNG would return in other child processes (as long as the parent process persisted). (CVE-2011-3009) A flaw was found in the Ruby SecureRandom module. When using the SecureRandom.random_bytes class, the PRNG state was not modified after forking a child process. This could eventually lead to SecureRandom.random_bytes returning the same string more than once. An attacker keeping track of the strings returned by one child process could use this flaw to predict the strings SecureRandom.random_bytes would return in other child processes (as long as the parent process persisted). (CVE-2011-2705) This update also fixes the following bugs: * The ruby package has been upgraded to upstream point release 1.8.7-p352, which provides a number of bug fixes over the previous version. (BZ#706332) * The MD5 message-digest algorithm is not a FIPS-approved algorithm. Consequently, when a Ruby script attempted to calculate an MD5 checksum in FIPS mode, the interpreter terminated unexpectedly. This bug has been fixed and an exception is now raised in the described scenario. (BZ#717709) * Due to inappropriately handled line continuations in the mkconfig.rb source file, an attempt to build the ruby package resulted in unexpected termination. An upstream patch has been applied to address this issue and the ruby package can now be built properly. (BZ#730287) * When the 32-bit ruby-libs library was installed on a 64-bit machine, the mkmf library failed to load various modules necessary for building Ruby-related packages. This bug has been fixed and mkmf now works properly in the described scenario. (BZ#674787) * Previously, the load paths for scripts and binary modules were duplicated on the i386 architecture. Consequently, an ActiveSupport test failed. With this update, the load paths are no longer stored in duplicates on the i386 architecture. (BZ#722887) This update also adds the following enhancement: * With this update, SystemTap probes have been added to the ruby package. (BZ#673162) All users of ruby are advised to upgrade to these updated packages, which resolve these issues and add this enhancement. 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/): 673162 - RFE: add systemtap static probes to Ruby 674787 - multilib breaks mkmf.rb 706332 - Update Ruby to the latest point release 717709 - MD5 makes ruby interpreter crash in FIPS mode 722415 - CVE-2011-2686 CVE-2011-2705 CVE-2011-3009 ruby: Properly initialize the random number generator when forking new process 722887 - Load paths duplicated for i386 =>ActiveSupport build fails on i386 730287 - It's not possible to build ruby package 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-3.el6.src.rpm i386: ruby-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-irb-1.8.7.352-3.el6.i686.rpm ruby-libs-1.8.7.352-3.el6.i686.rpm x86_64: ruby-1.8.7.352-3.el6.x86_64.rpm ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-irb-1.8.7.352-3.el6.x86_64.rpm ruby-libs-1.8.7.352-3.el6.i686.rpm ruby-libs-1.8.7.352-3.el6.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-3.el6.src.rpm i386: ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-devel-1.8.7.352-3.el6.i686.rpm ruby-docs-1.8.7.352-3.el6.i686.rpm ruby-rdoc-1.8.7.352-3.el6.i686.rpm ruby-ri-1.8.7.352-3.el6.i686.rpm ruby-static-1.8.7.352-3.el6.i686.rpm ruby-tcltk-1.8.7.352-3.el6.i686.rpm x86_64: ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-devel-1.8.7.352-3.el6.i686.rpm ruby-devel-1.8.7.352-3.el6.x86_64.rpm ruby-docs-1.8.7.352-3.el6.x86_64.rpm ruby-rdoc-1.8.7.352-3.el6.x86_64.rpm ruby-ri-1.8.7.352-3.el6.x86_64.rpm ruby-static-1.8.7.352-3.el6.x86_64.rpm ruby-tcltk-1.8.7.352-3.el6.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-3.el6.src.rpm x86_64: ruby-1.8.7.352-3.el6.x86_64.rpm ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-irb-1.8.7.352-3.el6.x86_64.rpm ruby-libs-1.8.7.352-3.el6.i686.rpm ruby-libs-1.8.7.352-3.el6.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-3.el6.src.rpm x86_64: ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-devel-1.8.7.352-3.el6.i686.rpm ruby-devel-1.8.7.352-3.el6.x86_64.rpm ruby-docs-1.8.7.352-3.el6.x86_64.rpm ruby-rdoc-1.8.7.352-3.el6.x86_64.rpm ruby-ri-1.8.7.352-3.el6.x86_64.rpm ruby-static-1.8.7.352-3.el6.x86_64.rpm ruby-tcltk-1.8.7.352-3.el6.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-3.el6.src.rpm i386: ruby-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-irb-1.8.7.352-3.el6.i686.rpm ruby-libs-1.8.7.352-3.el6.i686.rpm ppc64: ruby-1.8.7.352-3.el6.ppc64.rpm ruby-debuginfo-1.8.7.352-3.el6.ppc.rpm ruby-debuginfo-1.8.7.352-3.el6.ppc64.rpm ruby-irb-1.8.7.352-3.el6.ppc64.rpm ruby-libs-1.8.7.352-3.el6.ppc.rpm ruby-libs-1.8.7.352-3.el6.ppc64.rpm s390x: ruby-1.8.7.352-3.el6.s390x.rpm ruby-debuginfo-1.8.7.352-3.el6.s390.rpm ruby-debuginfo-1.8.7.352-3.el6.s390x.rpm ruby-irb-1.8.7.352-3.el6.s390x.rpm ruby-libs-1.8.7.352-3.el6.s390.rpm ruby-libs-1.8.7.352-3.el6.s390x.rpm x86_64: ruby-1.8.7.352-3.el6.x86_64.rpm ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-irb-1.8.7.352-3.el6.x86_64.rpm ruby-libs-1.8.7.352-3.el6.i686.rpm ruby-libs-1.8.7.352-3.el6.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-3.el6.src.rpm i386: ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-devel-1.8.7.352-3.el6.i686.rpm ruby-docs-1.8.7.352-3.el6.i686.rpm ruby-rdoc-1.8.7.352-3.el6.i686.rpm ruby-ri-1.8.7.352-3.el6.i686.rpm ruby-static-1.8.7.352-3.el6.i686.rpm ruby-tcltk-1.8.7.352-3.el6.i686.rpm ppc64: ruby-debuginfo-1.8.7.352-3.el6.ppc.rpm ruby-debuginfo-1.8.7.352-3.el6.ppc64.rpm ruby-devel-1.8.7.352-3.el6.ppc.rpm ruby-devel-1.8.7.352-3.el6.ppc64.rpm ruby-docs-1.8.7.352-3.el6.ppc64.rpm ruby-rdoc-1.8.7.352-3.el6.ppc64.rpm ruby-ri-1.8.7.352-3.el6.ppc64.rpm ruby-static-1.8.7.352-3.el6.ppc64.rpm ruby-tcltk-1.8.7.352-3.el6.ppc64.rpm s390x: ruby-debuginfo-1.8.7.352-3.el6.s390.rpm ruby-debuginfo-1.8.7.352-3.el6.s390x.rpm ruby-devel-1.8.7.352-3.el6.s390.rpm ruby-devel-1.8.7.352-3.el6.s390x.rpm ruby-docs-1.8.7.352-3.el6.s390x.rpm ruby-rdoc-1.8.7.352-3.el6.s390x.rpm ruby-ri-1.8.7.352-3.el6.s390x.rpm ruby-static-1.8.7.352-3.el6.s390x.rpm ruby-tcltk-1.8.7.352-3.el6.s390x.rpm x86_64: ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-devel-1.8.7.352-3.el6.i686.rpm ruby-devel-1.8.7.352-3.el6.x86_64.rpm ruby-docs-1.8.7.352-3.el6.x86_64.rpm ruby-rdoc-1.8.7.352-3.el6.x86_64.rpm ruby-ri-1.8.7.352-3.el6.x86_64.rpm ruby-static-1.8.7.352-3.el6.x86_64.rpm ruby-tcltk-1.8.7.352-3.el6.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-3.el6.src.rpm i386: ruby-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-irb-1.8.7.352-3.el6.i686.rpm ruby-libs-1.8.7.352-3.el6.i686.rpm x86_64: ruby-1.8.7.352-3.el6.x86_64.rpm ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-irb-1.8.7.352-3.el6.x86_64.rpm ruby-libs-1.8.7.352-3.el6.i686.rpm ruby-libs-1.8.7.352-3.el6.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-3.el6.src.rpm i386: ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-devel-1.8.7.352-3.el6.i686.rpm ruby-docs-1.8.7.352-3.el6.i686.rpm ruby-rdoc-1.8.7.352-3.el6.i686.rpm ruby-ri-1.8.7.352-3.el6.i686.rpm ruby-static-1.8.7.352-3.el6.i686.rpm ruby-tcltk-1.8.7.352-3.el6.i686.rpm x86_64: ruby-debuginfo-1.8.7.352-3.el6.i686.rpm ruby-debuginfo-1.8.7.352-3.el6.x86_64.rpm ruby-devel-1.8.7.352-3.el6.i686.rpm ruby-devel-1.8.7.352-3.el6.x86_64.rpm ruby-docs-1.8.7.352-3.el6.x86_64.rpm ruby-rdoc-1.8.7.352-3.el6.x86_64.rpm ruby-ri-1.8.7.352-3.el6.x86_64.rpm ruby-static-1.8.7.352-3.el6.x86_64.rpm ruby-tcltk-1.8.7.352-3.el6.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-2705.html https://www.redhat.com/security/data/cve/CVE-2011-3009.html https://access.redhat.com/security/updates/classification/#low 8. Contact: The Red Hat security contact is <secalert@redhat.com>. More contact details at https://access.redhat.com/security/team/contact/ Copyright 2011 Red Hat, Inc. - -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (GNU/Linux) iD8DBQFO3jZ/XlSAg2UNWIIRAsD3AJ9qOzGoO9mH9F8kkCKiSsNtLK4juwCgoOTU zsUwHaHbaRhm6tRKq0hAYow= =VTTO - -----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 iQIVAwUBTt8Whu4yVqjM2NGpAQIelA/8CwviSzdXFb7WwyiXI0sFHo+jdv7ZTOYC rhM0OLT6dZPfzNWYwjL6YuZicwvAbcEel2pEjwaOMnvCePMJKdicSmzi1mhV2yVl IOb7S26H4nXPaBFLBp3rl0o2VWp3Gw1oJZLICZR3tyOTLIDiyiBXDfUPgWrCxEjP tgbxrHpiqhF43kzO33XkMglWauHHrt6oiSY1Nasi2VTAumkuoYmJFHk9BuTMwZut lYfCuo1axI21HVSfql+lcteqCNw9uk6ySPOvWCb5LsxYYqgQH413sZbtp80lY5XS 6Z2PAGr9L3WBQhqX5avpTf1RMLKhCp74WOsSvWwwjXktIfXWUz9BUw1L3VSO2WHJ mH41Okdplb7S6A2ame90hn2Gf2RZithFBc5DkquNH7f82VjAH6duIOmtgeezDc6v QfpoMmiR0ydUu05FZk+bpZ7aduvGWYCIg7axeH2DBQqqgDp2NjmIwNDTNjI6EhuG qrdjrZFLfopDeSuy0WAPjWPkiFyBV4qDY3OpNEPOQLEhGopuummmj2XEApvm0j4l TiWWZG4O17ogkx5loBF+yoWVNv0dGL/8ElsoMEaoRjlbDGUkRTifng/9BginbPIg gyuYpNNQJGyGIZsRMsJp8ObDTE2bZ5obRq+0nKbvTt77wFmg7YBxsSTjjM6ptLBD jIqqT6XJyJ8= =8Reu -----END PGP SIGNATURE-----