[Full-disclosure] [ GLSA 200612-21 ] Ruby: Denial of Service vulnerability



- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory GLSA 200612-21
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Severity: Normal
Title: Ruby: Denial of Service vulnerability
Date: December 20, 2006
Bugs: #157048
ID: 200612-21

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

Synopsis
========

The Ruby cgi.rb CGI library is vulnerable to a Denial of Service
attack.

Background
==========

Ruby is a dynamic, open source programming language with a focus on
simplicity and productivity.

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

-------------------------------------------------------------------
Package / Vulnerable / Unaffected
-------------------------------------------------------------------
1 dev-lang/ruby < 1.8.5_p2 >= 1.8.5_p2

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

The read_multipart function of the CGI library shipped with Ruby
(cgi.rb) does not properly check boundaries in MIME multipart content.
This is a different issue than GLSA 200611-12.

Impact
======

The vulnerability can be exploited by sending the cgi.rb library a
crafted HTTP request with multipart MIME encoding that contains a
malformed MIME boundary specifier. Successful exploitation of the
vulnerability causes the library to go into an infinite loop.

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.5_p2"

References
==========

[ 1 ] CVE-2006-6303
http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2006-6303

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

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

http://security.gentoo.org/glsa/glsa-200612-21.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: pgphmf5U2ObqM.pgp
Description: PGP signature

_______________________________________________
Full-Disclosure - We believe in it.
Charter: http://lists.grok.org.uk/full-disclosure-charter.html
Hosted and sponsored by Secunia - http://secunia.com/

Relevant Pages

  • [Full-disclosure] [ GLSA 200611-12 ] Ruby: Denial of Service vulnerability
    ... Title: Ruby: Denial of Service vulnerability ... Bugs: #153497 ... The Ruby cgi.rb CGI library is vulnerable to a Denial of Service ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Full-Disclosure)
  • [ GLSA 200611-12 ] Ruby: Denial of Service vulnerability
    ... Title: Ruby: Denial of Service vulnerability ... Bugs: #153497 ... The Ruby cgi.rb CGI library is vulnerable to a Denial of Service ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)
  • [ GLSA 200612-21 ] Ruby: Denial of Service vulnerability
    ... Title: Ruby: Denial of Service vulnerability ... Bugs: #157048 ... The Ruby cgi.rb CGI library is vulnerable to a Denial of Service ... Security is a primary focus of Gentoo Linux and ensuring the ...
    (Bugtraq)
  • Re: [ANN] Rails 1.1.5: Mandatory security patch (and other tidbits)
    ... "The nondisclosure policy in handling this vulnerability has ... I don't use Rails for these things, so this vulnerability doesn't directly affect me, but the way that it has been handled certainly does, and here's why: ... Imagine the president of this company, who knows that his software is implemented with Ruby, hears about this critical, greivous security issue with Ruby/Rails. ...
    (comp.lang.ruby)
  • [Full-Disclosure] Re: its all about timing
    ... >hunters, sure don't sound like they need some else telling them what ... I think it's because there are more "consumers" of vulnerability ... to remove those bugs from their vulnerable systems. ... responsible for the security of large, ...
    (Full-Disclosure)