CWE
77
Advisory Published
Updated

REDHAT-BUG-479715: Command Injection

First published: Mon Jan 12 2009(Updated: )

Sebastian Krahmer of the SuSE security team discovered a remote command injection flaws in the gitweb, caused by an insufficient checking of the inputs used to build argument to perl's open() function. Remote attacker could use these flaws to run arbitrary commands with the privileges of the web server executing gitweb CGI scripts. Issues are already fixed upstream in the latest git branches. It seems that the security consequences were not noticed when fixes were applied upstream, as multiple occurrences of the similar flaws were fixed in different upstream versions: <a href="https://access.redhat.com/security/cve/CVE-2008-5517">CVE-2008-5517</a> <a href="http://repo.or.cz/w/git.git?a=commitdiff;h=516381d5">http://repo.or.cz/w/git.git?a=commitdiff;h=516381d5</a> (fixes issues in git_snapshot and git_object, first occurred in 1.5.6) <a href="https://access.redhat.com/security/cve/CVE-2008-5516">CVE-2008-5516</a> <a href="http://repo.or.cz/w/git.git?a=commitdiff;h=c582abae">http://repo.or.cz/w/git.git?a=commitdiff;h=c582abae</a> (fixes issue in git_search, first occurred in 1.5.5) All current Fedora packages use version 1.5.6+, so neither of the issue apply to them. EPEL versions should be affected by one or both of the issues.

Affected SoftwareAffected VersionHow to fix
Git>=1.5.5>=1.5.6

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.

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