<<< Date Index >>>     <<< Thread Index >>>

[ GLSA 200605-11 ] Ruby: Denial of Service



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200605-11
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: Ruby: Denial of Service
      Date: May 10, 2006
      Bugs: #130657
        ID: 200605-11

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

Synopsis
========

Ruby WEBrick and XMLRPC servers are vulnerable to Denial of Service.

Background
==========

Ruby is an interpreted scripting language for quick and easy
object-oriented programming. It comes bundled with HTTP ("WEBrick") and
XMLRPC server objects.

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

    -------------------------------------------------------------------
     Package        /  Vulnerable  /                        Unaffected
    -------------------------------------------------------------------
  1  dev-lang/ruby     < 1.8.4-r1                          >= 1.8.4-r1

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

Ruby uses blocking sockets for WEBrick and XMLRPC servers.

Impact
======

An attacker could send large amounts of data to an affected server to
block the socket and thus deny other connections to the server.

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All Ruby users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.4-r1"

References
==========

  [ 1 ] CVE-2006-1931
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-1931
  [ 2 ] Ruby release announcement
        http://www.ruby-lang.org/en/20051224.html

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

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

  http://security.gentoo.org/glsa/glsa-200605-11.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@xxxxxxxxxx or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2006 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.5

Attachment: pgpyrAuTydEut.pgp
Description: PGP signature