Gentoo Logo

Git: User-assisted execution of arbitrary code

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 200809-16 / git
Release Date September 25, 2008
Latest Revision September 25, 2008: 01
Impact normal
Exploitable remote
Package Vulnerable versions Unaffected versions Architecture(s)
dev-util/git < 1.5.6.4 >= 1.5.6.4 All supported architectures

Related bugreports: #234075

Synopsis

Multiple buffer overflow vulnerabilities have been discovered in Git.

2.  Impact Information

Background

Git is a distributed version control system.

Description

Multiple boundary errors in the functions diff_addremove() and diff_change() when processing overly long repository path names were reported.

Impact

A remote attacker could entice a user to run commands like "git-diff" or "git-grep" on a specially crafted repository, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.

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.5.6.4"

4.  References



Print

Page updated September 25, 2008

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.