Andres Salomon noticed a problem in the CGI session management of Ruby, an object-oriented scripting language. CGI::Session's FileStore (and presumably PStore, but not in Debian woody) implementations store session information insecurely. They simply create files, ignoring permission issues. This can lead an attacker who has also shell access to the webserver to take over a session.
For the stable distribution (woody) this problem has been fixed in version 1.6.7-3woody3.
For the unstable and testing distributions (sid and sarge) this problem has been fixed in version 1.8.1+1.8.2pre1-4.
We recommend that you upgrade your libruby package.
MD5 checksums of the listed files are available in the original advisory.