Skip to content

CVE-2010-2542 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.

HighCVSS 7.5 EPSS 2.5%
Published
Updated
Exploit status
No public exploit known

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.

Affected products

ProductAffected versionsFixed in
git-scm git < 1.7.2.1 1.7.2.1

References