USN-371-1: Ruby vulnerability

Ubuntu Security Notice USN-371-1

1st November, 2006

ruby1.8 vulnerability

A security issue affects these releases of Ubuntu and its derivatives:

  • Ubuntu 6.10
  • Ubuntu 6.06 LTS
  • Ubuntu 5.10
  • Ubuntu 5.04


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 version:

Ubuntu 6.10:
libruby1.8 1.8.4-5ubuntu1.1
Ubuntu 6.06 LTS:
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

To update your system, please follow these instructions:

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