USN-371-1: Ruby vulnerability

01 November 2006

Ruby vulnerability



An error was found in Ruby's CGI library that did not correctly check
for the end of multipart MIME requests. Using a crafted HTTP request, a
remote user could cause a denial of service, where Ruby CGI applications
would end up in a loop, monopolizing a CPU.

Update instructions

The problem can be corrected by updating your system to the following package versions:

Ubuntu 6.10
  • libruby1.8 - 1.8.4-5ubuntu1.1
Ubuntu 6.06
  • libruby1.8 - 1.8.4-1ubuntu1.2
Ubuntu 5.10
  • libruby1.8 - 1.8.2-9ubuntu1.3
Ubuntu 5.04
  • libruby1.8 - 1.8.1+1.8.2pre4-1ubuntu0.5

In general, a standard system upgrade is sufficient to effect the
necessary changes.