SecurityTracker.com
    Home    |    View Topics    |    Search    |    Contact Us    |   

SecurityTracker
Archives


 


Category:   Application (Generic)  >   Ruby Vendors:   Matsumoto, Yukihiro
(Gentoo Issues Fix) Ruby Infinite Loop Bug Lets Remote Users Deny Service
SecurityTracker Alert ID:  1012242
SecurityTracker URL:  http://securitytracker.com/id/1012242
CVE Reference:   CVE-2004-0983   (Links to External Site)
Date:  Nov 16 2004
Impact:   Denial of service via network
Fix Available:  Yes  Vendor Confirmed:  Yes  

Description:   A denial of service vulnerability was reported in Ruby. A remote user can cause the target process to enter an infinite loop.

Debian reported that a remote user can submit specially crafted requests to cause the target Ruby process to enter an infinitie loop and consume excessive CPU resources.

Impact:   A user can cause Ruby to enter an infinite loop.
Solution:   Gentoo has released a fix and indicates that all Ruby 1.6.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.6.8-r12"

All Ruby 1.8.x users should upgrade to the latest version:

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.2_pre3"

Vendor URL:  www.ruby-lang.org/ (Links to External Site)
Cause:   State error
Underlying OS:  Linux (Gentoo)

Message History:   This archive entry is a follow-up to the message listed below.
Nov 8 2004 Ruby Infinite Loop Bug Lets Remote Users Deny Service



 Source Message Contents

Subject:  [gentoo-announce] [ GLSA 200411-23 ] Ruby: Denial of Service issue


This is an OpenPGP/MIME signed message (RFC 2440 and 3156)
--------------enig1057AC9EEFFBB7180ED2769C
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200411-23
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Ruby: Denial of Service issue
      Date: November 16, 2004
      Bugs: #69985
        ID: 200411-23

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

The CGI module in Ruby can be sent into an infinite loop, resulting in
a Denial of Service condition.

Background
==========

Ruby is an interpreted scripting language for quick and easy
object-oriented programming. Ruby's CGI module can be used to build web
applications.

Affected packages
=================

    -------------------------------------------------------------------
     Package        /   Vulnerable   /                      Unaffected
    -------------------------------------------------------------------
  1  dev-lang/ruby     < 1.8.2_pre3                      *>= 1.6.8-r12
                                                         >= 1.8.2_pre3

Description
===========

Ruby's developers found and fixed an issue in the CGI module that can
be triggered remotely and cause an infinite loop.

Impact
======

A remote attacker could trigger the vulnerability through an exposed
Ruby web application and cause the server to use unnecessary CPU
resources, potentially resulting in a Denial of Service.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Ruby 1.6.x users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.6.8-r12"

All Ruby 1.8.x users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.2_pre3"

References
==========

  [ 1 ] CAN-2004-0983
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CAN-2004-0983

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200411-23.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2004 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.0


--------------enig1057AC9EEFFBB7180ED2769C
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.4 (GNU/Linux)

iD8DBQFBmc7FvcL1obalX08RAjsHAJ0XgA51yu4Tc1e27wyQDMaMniZ3aACggo6E
cKqZytZ+rk8duhYyGTQkGPQ=
=i93i
-----END PGP SIGNATURE-----

--------------enig1057AC9EEFFBB7180ED2769C--

 
 


Go to the Top of This SecurityTracker Archive Page





Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2020, SecurityGlobal.net LLC