GIT Buffer Overflow in diff_addremove() and diff_change() May Let Remote Users Execute Arbitrary Code
|
|
SecurityTracker Alert ID: 1020627
|
|
SecurityTracker URL: http://securitytracker.com/id?1020627
|
|
CVE Reference: CVE-2008-3546
(Links to External Site)
|
Updated: Aug 15 2008
|
Original Entry Date: Aug 5 2008
|
Impact: Execution of arbitrary code via network, User access via network
|
Fix Available: Yes
Vendor Confirmed: Yes
|
Version(s): 1.5.6.3 and prior versions
|
Description: A vulnerability was reported in GIT. A remote user can cause arbitrary code to be executed on the target user's system.
A remote user can create a repository with a specially crafted pathname that is longer than PATH_MAX on the target user's system.
Then, when the target user runs git-diff on the repository, a buffer overflow may occur in in diff_addremove() and diff_change(),
executing arbitrary code on the target user's system. The code will run with the privileges of the target user.
|
Impact: A remote user can create a pathname that, when processed by the target user with git-diff, will execute arbitrary code on the target user's system.
|
Solution: The vendor has issued a fix (1.5.6.4).
The vendor's advisory is available at:
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt
|
Vendor URL: www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt (Links to External Site)
|
Cause: Boundary error
|
Underlying OS: Linux (Any)
|
|
Message History:
None.
|
Source Message Contents
|
Date: Tue, 5 Aug 2008 15:29:18 -0400
Subject: GIT
|
http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.5.6.4.txt
|
|