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

medium Nessus Plugin ID 23706

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.

Solution

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

See Also

https://security.gentoo.org/glsa/200611-12

Plugin Details

Severity: Medium

ID: 23706

File Name: gentoo_GLSA-200611-12.nasl

Version: 1.16

Type: local

Published: 11/22/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

Temporal Score: 3.7

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

Exploit Ease: No known exploits are available

Patch Publication Date: 11/20/2006

Vulnerability Publication Date: 11/8/2004

Reference Information

CVE: CVE-2006-5467

BID: 20777

GLSA: 200611-12