GLSA-200612-21 : Ruby: Denial of Service vulnerability
Medium Nessus Plugin ID 23958
SynopsisThe remote Gentoo host is missing one or more security-related patches.
DescriptionThe 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.
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.
There is no known workaround at this time.
SolutionAll Ruby users should upgrade to the latest version:
# emerge --sync # emerge --ask --oneshot --verbose '>=dev-lang/ruby-1.8.5_p2'