CWE
264
Advisory Published
Updated

CVE-2008-5916

First published: Wed Jan 21 2009(Updated: )

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.

Credit: cve@mitre.org

Affected SoftwareAffected VersionHow to fix
Git=1.5.4-rc1.1136.g2794
Git=1.5.0.7
Git=1.5.5
Git=1.5.6.5
Git=1.5.0-rc4
Git=1.5.0.3
Git=1.5.2.5
Git=1.5.1.4
Git=1.5.3.1
Git=1.5.4-rc2
Git=1.5.4.1
Git=1.5.6.3
Git=1.5.6.4
Git=1.6.0.3
Git=1.6.0.2
Git=1.5.3.3
Git=1.5.1.3
Git=1.5.5.4
Git=1.4.4.1
Git=1.5.3-rc4
Git=1.5.2.3
Git=1.5.3.8
Git=1.5.5.1
Git=1.4.3.3
Git=1.6.0
Git=1.5.2.1
Git=1.5.4.3
Git=1.6.0-rc1
Git=1.5.5-rc2
Git=1.5.1.5
Git=1.5.4.6
Git=1.5.5.3
Git=1.5.4-rc3
Git=1.5.3-rc7
Git=1.5.3.5
Git=1.5.5.3-r1
Git=1.4.3.1
Git=1.5.3-rc5
Git=1.5.2.2
Git=1.6.0-rc3
Git=1.5.0.2
Git=1.5.4-rc1
Git=1.5.0.1
Git=1.5.0.4
Git=1.5.5-rc3
Git=1.6.0.5
Git=1.6.0-rc2
Git=1.5.4
Git=1.5.5.2
Git=1.5.2.4
Git=1.4.4
Git=1.4.4.3
Git=1.5.0
Git=1.4.3.2
Git=1.5.6
Git=1.5.1.1
Git=1.4.4.4
Git=1.5.2
Git=1.6.0.1
Git=1.5.0.6
Git=1.5.4.4
Git=1.5.4.2
Git=1.5.1.2
Git=1.5.1
Git=1.5.4-rc0
Git=1.5.3.2
Git=1.5.5-rc1
Git=1.5.0.5
Git=1.4.3.4
Git=1.4.3.5
Git=1.5.0-rc3
Git=1.5.4-rc4
Git=1.5.3.4
Git=1.5.1.6
Git=1.4.4.2
Git=1.5.3
Git=1.6.0.4
Git=1.5.4.5
Git=1.5.3.6
Git=1.5.0-rc2
Git=1.5.3.7
Git=1.5.6.1
Git=1.5.4-rc5
Git=1.5.6.2
Git=1.5.5.5

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

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.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2025 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203