copyright | disclaimer | privacy | contact  
Australia's Leading Computer Emergency Response Team
 
Search this site

 
On this site

 > HOME
 > About AusCERT
 > Membership
 > Contact Us
 > PKI Services
 > Training
 > Publications
 > Sec. Bulletins
 > Conferences
 > News & Media
 > Services
 > Web Log
 > Site Map
 > Site Help
 > Member login





 

ASB-2009.1154 - [Win][UNIX/Linux] ruby: Execute arbitrary code/commands - Remote with user interaction

Date: 07 December 2009

Click here for printable version
Click here for PGP verifiable version
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

===========================================================================
                         AUSCERT Security Bulletin

                               ASB-2009.1154
        Updated version of Ruby 1.9 has been released fixing a heap
                          overflow vulnerability
                              8 December 2009

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

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

Product:              ruby
Operating System:     UNIX variants (UNIX, Linux, OSX)
                      Windows
Impact/Access:        Execute Arbitrary Code/Commands -- Remote with User Interaction
                      Denial of Service               -- Remote with User Interaction
Resolution:           Patch/Upgrade
CVE Names:            CVE-2009-4124  
Member content until: Thursday, January  7 2010

OVERVIEW

        An updated version of Ruby 1.9 has been released fixing a heap overflow
        vulnerability which may allow attackers to run arbitrary code.


IMPACT

        The vendor has provided the following information regarding the
        vulnerability:
        
        "There is a heap overflow vulnerability in String#ljust, String#center
        and String#rjust. This has allowed an attacker to run arbitrary code
        in some rare cases." [2]


MITIGATION

        The vendor has released Ruby 1.9.1-p376 to which fixes this
        vulnerability. [1]
        
        The vendor also advises that this vulnerability is not present in the
        Ruby 1.8 stream.


REFERENCES

        [1] Ruby 1.9.1-p376 is released
            http://www.ruby-lang.org/en/news/2009/12/07/ruby-1-9-1-p376-is-released/

        [2] Heap overflow in String
            http://www.ruby-lang.org/en/news/2009/12/07/heap-overflow-in-string/

AusCERT has made every effort to ensure that the information contained
in this document is accurate.  However, the decision to use the information
described is the responsibility of each user or organisation. 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.

If you believe that your computer system has been compromised or attacked in 
any way, we encourage you to let us know by completing the secure National IT 
Incident Reporting Form at:

        http://www.auscert.org.au/render.html?it=3192

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

iD8DBQFLHa/jNVH5XJJInbgRAjokAJ9hWoqc8z1sMRWdWxMY0l1wgE9hsQCePGuR
Rw9csj00HlYMvQBexFlzVCs=
=p+tK
-----END PGP SIGNATURE-----