GLSA Advocate
Joined: 12 May 2004 Posts: 2663
|
Posted: Wed Dec 20, 2006 9:26 pm Post subject: [ GLSA 200612-21 ] Ruby: Denial of Service vulnerability |
|
|
Gentoo Linux Security Advisory
Title: Ruby: Denial of Service vulnerability (GLSA 200612-21)
Severity: normal
Exploitable: remote
Date: December 20, 2006
Bug(s): #157048
ID: 200612-21
Synopsis
The Ruby cgi.rb CGI library is vulnerable to a Denial of Service attack.
Background
Ruby is a dynamic, open source programming language with a focus on simplicity and productivity.
Affected Packages
Package: dev-lang/ruby
Vulnerable: < 1.8.5_p2
Unaffected: >= 1.8.5_p2
Architectures: All supported architectures
Description
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.
Resolution
All Ruby users should upgrade to the latest version: Code: | # emerge --sync
# emerge --ask --oneshot --verbose ">=dev-lang/ruby-1.8.5_p2" |
References
CVE-2006-6303 |
|