Skip to content
OpenAdvisories
Unscored CVE-2008-3546 EUVD-2008-3532GHSA-j9cr-wr26-g3fp

Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execut…

Published Aug 7, 2008 · Updated Aug 7, 2024 · Assigned by mitre

Description

Stack-based buffer overflow in the (1) diff_addremove and (2) diff_change functions in GIT before 1.5.6.4 might allow local users to execute arbitrary code via a PATH whose length is larger than the system's PATH_MAX when running GIT utilities such as git-diff or git-grep.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 5.0 git-core 1.5.6.3-1+lenny1 DTSA-153-2, DTSA-153-1
Debian 4.0 git-core 1:1.4.4.4-2.1+etch1 DSA-1637-1

Advisories 3

References