Home    |    View Topics    |    Search    |    Contact Us    |   



Category:   Application (Generic)  >   Git Vendors:
GIT Buffer Overflow in diff_addremove() and diff_change() May Let Remote Users Execute Arbitrary Code
SecurityTracker Alert ID:  1020627
SecurityTracker URL:
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): 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 (

The vendor's advisory is available at:

Vendor URL: (Links to External Site)
Cause:   Boundary error
Underlying OS:  Linux (Any)

Message History:   None.

 Source Message Contents

[Original Message Not Available for Viewing]

Go to the Top of This SecurityTracker Archive Page

Home   |    View Topics   |    Search   |    Contact Us

This web site uses cookies for web analytics. Learn More

Copyright 2021, LLC