CVE-2008-5916: Medium severity Git git vulnerability
gitweb/gitweb.perl in gitweb in Git 1.6.x before 1.6.0.6, 1.5.6.x before 1.5.6.6, 1.5.5.x before 1.5.5.6, 1.5.4.x before 1.5.4.7, and other versions after 1.4.3 allows local repository owners to execute arbitrary commands by modifying the diff.external configuration variable and executing a crafted gitweb query.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
gitto a version that resolves this vulnerability.Fixed in 1.6.0.6 - Upgrade
Upgrade
gitto a version that resolves this vulnerability.Fixed in 1.5.6.6 - Upgrade
Upgrade
gitto a version that resolves this vulnerability.Fixed in 1.5.5.6 - Upgrade
Upgrade
gitto a version that resolves this vulnerability.Fixed in 1.5.4.7
Event History
Frequently Asked Questions
What is the severity of CVE-2008-5916?
CVE-2008-5916 has a high severity level as it allows local repository owners to execute arbitrary commands remotely.
How do I fix CVE-2008-5916?
To fix CVE-2008-5916, you should upgrade Git to a version that addresses this vulnerability, ideally 1.6.0.6 or later.
What versions of Git are affected by CVE-2008-5916?
CVE-2008-5916 affects multiple versions of Git prior to 1.6.0.6, including several releases in the 1.5.x and 1.4.x series.
Can CVE-2008-5916 be exploited remotely?
No, CVE-2008-5916 can only be exploited locally by the repository owner modifying their configuration.
What is the recommended mitigation for CVE-2008-5916?
The best mitigation for CVE-2008-5916 is to restrict access to the Git repositories and ensure only trusted users can modify configurations.