Joined: 12 May 2004
|Posted: Mon Nov 20, 2006 9:26 pm Post subject: [ GLSA 200611-12 ] Ruby: Denial of Service vulnerability
|Gentoo Linux Security Advisory
Title: Ruby: Denial of Service vulnerability (GLSA 200611-12)
Date: November 20, 2006
Updated: June 11, 2009
The Ruby cgi.rb CGI library is vulnerable to a Denial of Service attack.
Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.
Vulnerable: < 1.8.5-r3
Unaffected: >= 1.8.5-r3
Architectures: All supported architectures
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.
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.
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-r3"
Last edited by GLSA on Fri Jun 12, 2009 4:17 am; edited 1 time in total