GLSA-200612-21 : Ruby: Denial of Service vulnerability

Medium Nessus Plugin ID 23958


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


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

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.


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

See Also

Plugin Details

Severity: Medium

ID: 23958

File Name: gentoo_GLSA-200612-21.nasl

Version: $Revision: 1.11 $

Type: local

Published: 2006/12/30

Modified: 2015/04/13

Dependencies: 12634

Risk Information

Risk Factor: Medium


Base Score: 5

Vector: CVSS2#AV:N/AC:L/Au:N/C:N/I:N/A:P

Vulnerability Information

CPE: p-cpe:/a:gentoo:linux:ruby, cpe:/o:gentoo:linux

Required KB Items: Host/local_checks_enabled, Host/Gentoo/release, Host/Gentoo/qpkg-list

Patch Publication Date: 2006/12/20

Vulnerability Publication Date: 2004/11/08

Reference Information

CVE: CVE-2006-6303

OSVDB: 11534, 34238

GLSA: 200612-21

CWE: 399