Distro advisory · Debian 4
git-core - remote code execution
Description
Vulnerability : shell command injection Problem type : remote Debian-specific: no CVE Id(s) : CVE-2008-5516 CVE-2008-5517 Debian Bug : 512330
It was discovered that gitweb, the web interface for the Git version control system, contained several vulnerabilities:
Remote attackers could use crafted requests to execute shell commands on the web server, using the snapshot generation and pickaxe search functionality (CVE-2008-5516).
Local users with write access to the configuration of a Git repository served by gitweb could cause gitweb to execute arbitrary shell commands with the permission of the web server (CVE-2008-5517).
Manual fix · Debian 4
sudo apt-get updatesudo apt-get install --only-upgrade git-coredpkg -s git-core | grep VersionSources