GLSA-200611-12 : Ruby: Denial of Service vulnerability

This script is Copyright (C) 2006-2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-200611-12
(Ruby: Denial of Service vulnerability)

Zed Shaw, Jeremy Kemper, and Jamis Buck of the Mongrel project reported
that the CGI library shipped with Ruby is vulnerable to a remote Denial
of Service by an unauthenticated user.

Impact :

The vulnerability can be exploited by sending the cgi.rb library an
HTTP request with multipart MIME encoding that contains a malformed
MIME boundary specifier beginning with '-' instead of '--'. Successful
exploitation of the vulnerability causes the library to go into an
infinite loop waiting for additional nonexistent input.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-200611-12.xml

Solution :

All Ruby users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-lang/ruby-1.8.5-r3'

Risk factor :

Medium / CVSS Base Score : 5.0
(CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P)

Family: Gentoo Local Security Checks

Nessus Plugin ID: 23706 (gentoo_GLSA-200611-12.nasl)

Bugtraq ID:

CVE ID: CVE-2006-5467