git: Multiple vulnerabilties

Security Team  Contact Address

Updated March 09, 2009

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200903-15 / git
Release Date March 09, 2009
Latest Revision March 09, 2009: 01
Impact high
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-util/git < 1.6.0.6 >= 1.6.0.6 All supported architectures

Related bugreports: #251343

Synopsis

Multiple vulnerabilities in gitweb allow for remote execution of arbitrary commands.

2.  Impact Information

Background

GIT - the stupid content tracker, the revision control system used by the Linux kernel team.

Description

Multiple vulnerabilities have been reported in gitweb that is part of the git package:

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All git users should upgrade to the latest version:

Code Listing 3.1: Resolution

# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-util/git-1.6.0.6"

4.  References