← Database

CVE-2010-2542

HIGH CVSS: 7.5 Published: 2010-08-11 Modified: 2026-06-16

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 Platforms

Git-Scm Git

Weakness Type

CWE-787

References