500 - Internal Server Error

Insecure $ENV{PATH} while running setuid at /usr/share/gitweb/index.cgi line 775.