Skip to content
OpenAdvisories
Unscored CVE-2010-2542 EUVD-2010-2546GHSA-q648-58gx-r823

Stack-based buffer overflow in the is_git_directory function in setup.c in Git before 1.7.2.1 allows local users to gain privileges via a l…

Published Aug 11, 2010 · Updated Aug 7, 2024 · Assigned by redhat

Description

Stack-based buffer overflow in the is_git_directory function in setup.c in Git before 1.7.2.1 allows local users to gain privileges via a long gitdir: field in a .git file in a working copy.

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:1.5.6.5-3+lenny3.1 DSA-2114-1

Advisories 1

References