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

medium Nessus Plugin ID 23958

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-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.

Solution

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

See Also

https://security.gentoo.org/glsa/200612-21

Plugin Details

Severity: Medium

ID: 23958

File Name: gentoo_GLSA-200612-21.nasl

Version: 1.14

Type: local

Published: 12/30/2006

Updated: 1/6/2021

Supported Sensors: Nessus

Risk Information

VPR

Risk Factor: Low

Score: 3.6

CVSS v2

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: 12/20/2006

Vulnerability Publication Date: 11/8/2004

Reference Information

CVE: CVE-2006-6303

CWE: 399

GLSA: 200612-21