Sha256: 0b7c29d9b55248ad6aee3ba8d7c86ee843c609d010a7bac7787e00096e6ad5ac
Contents?: true
Size: 1.51 KB
Versions: 1
Compression:
Stored size: 1.51 KB
Contents
cgi_multipart_eof_fix Fix an exploitable bug in CGI multipart parsing. == License Copyright 2006, 2007 Cloudburst, LLC. Portions copyright 2006 Jeremy Kemper, Jamis Buck, Zed A. Shaw, and Yukihiro Matsumoto, and used with permission. Licensed under both the AFL 3.0 and Ruby License. == Description Fixes an exploitable bug in CGI multipart parsing which affects Ruby <= 1.8.5. When multipart boundary attributes contain non-halting regular expression strings, the boundary searcher in the CGI module does not properly escape the parameter and will execute arbitrary regular expressions. This fix adds escaping for the user data. This is fix is cumulative with previous CGI multipart vulnerability fixes; see version 1.0.0 of the gem by Jamis Buck et. al. == Installation sudo gem install cgi_multipart_eof_fix == Scope * Affected: standalone CGI, Mongrel, WEBrick * Unaffected: FastCGI, Ruby 1.8.6 (all servers) * Unknown: mod_ruby This library will not modify versions of Ruby greater than 1.8.5. == Usage Run the included test to verify that the patch works as intended. Then, <tt>require</tt> the gem in every affected application, as follows: require 'rubygems' require 'cgi_multipart_eof_fix' Currently Mongrel requires this gem automatically. However, Mongrel may change in the future. == Further resources * http://blog.evanweaver.com/pages/code#cgi_multipart_eof_fix * http://rubyforge.org/forum/forum.php?forum_id=13985 * http://www.ruby-lang.org/en/news/2006/12/04/another-dos-vulnerability-in-cgi-library/
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
cgi_multipart_eof_fix-2.2 | README |