Stop leaking information across requests
authorFlorian Ragwitz <rafl@debian.org>
Sat, 24 Sep 2011 07:54:33 +0000 (09:54 +0200)
committerFlorian Ragwitz <rafl@debian.org>
Sat, 24 Sep 2011 07:54:33 +0000 (09:54 +0200)
commit297693dc8362d25bb25e473899c72508a0f71d2e
tree9fed9163ff1796d87fd965cb9c367db5247ebb0e
parent21472f7da71c98439752b21c40a35b0b9dad79d7
Stop leaking information across requests

%hash is false if the hash hasn't been assigned to, *or* if the hash is simply
empty. This causes the environment from the *second* request (that is, the
environment produced by the first request) to be saved as default if the first
request had empty environment. This way, request after the first can get access
to credentials set up by the first request.

Instead of fixing this, I'd much rather remove this old and buggy
interface. However, 10 years of deprecation don't seem to have been enough for
CGI::Fast to switch to the new and properly supported interface. :-(

This is CVE-2011-2766.
perl/FCGI.PL