CVE-2010-2542

Severity CVSS v4.0:
Pending analysis
Type:
CWE-787 Out-of-bounds Write
Publication date:
11/08/2010
Last modified:
11/04/2025

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.

Vulnerable products and versions

CPE From Up to
cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* 1.7.2.1 (excluding)