Multiple vulnerabilities in gitweb allow for remote execution of arbitrary commands.. - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Gentoo Linux Security Advisory GLSA 200903-15 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - https://security.gentoo.org/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Severity: High Title: git: Multiple vulnerabilties Date: March 09, 2009 Bugs: #251343 ID: 200903-15 - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Synopsis ======= Multiple vulnerabilities in gitweb allow for remote execution of arbitrary commands. Background ========= GIT - the stupid content tracker, the revision control system used by the Linux kernel team. Affected packages ================ ------------------------------------------------------------------- Package / Vulnerable / Unaffected ------------------------------------------------------------------- 1 dev-util/git < 1.6.0.6 > = 1.6.0.6 Description ========== Multiple vulnerabilities have been reported in gitweb that is part of the git package: * Shell metacharacters related to git_search are not properly sanitized (CVE-2008-5516). * Shell metacharacters related to git_snapshot and git_object are not properly sanitized (CVE-2008-5517). * The diff.external configuration variable as set in a repository can be executed by gitweb (CVE-2008-5916). Impact ===== A remote unauthenticated attacker can execute arbitrary commands via shell metacharacters in a query, remote attackers with write access to a git repository configuration can execute arbitrary commands with the privileges of the user running gitweb by modifying the diff.external configuration variable in the repository and sending a crafted query to gitweb. Workaround ========= There is no known workaround at thistime. Resolution ========= All git users should upgrade to the latest version: # emerge --sync # emerge --ask --oneshot --verbose "> =dev-util/git-1.6.0.6" References ========= [ 1 ] CVE-2008-5516 https://www.cve.org/CVERecord?id=CVE-2008-5516 [ 2 ] CVE-2008-5517 https://www.cve.org/CVERecord?id=CVE-2008-5517 [ 3 ] CVE-2008-5916 https://www.cve.org/CVERecord?id=CVE-2008-5916 Availability =========== This GLSA and any updates to it are available for viewing at the Gentoo Security Website: https://security.gentoo.org/glsa/200903-15 Concerns? ======== Security is a primary focus of Gentoo Linux and ensuring the confidentiality and security of our users machines is of utmost importance to us. Any security concerns should be addressed to
Get the latest Linux and open source security news straight to your inbox.