CVEvulnerability

CVE-2010-2542

7.5 HIGH Published 2010-08-11 Modified 2026-06-16 Official page ↗
Status
Modified
Published
2010-08-11
Last modified
2026-06-16
Assigner
[email protected]
CVSS 2.0 ([email protected])
7.5 HIGH — AV:N/AC:L/Au:N/C:P/I:P/A:P
Weaknesses
CWE-787

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 configurations

• git-scm git (< 1.7.2.1)

Related

Weakness · CWE (1)

  • CWE-787 Out-of-bounds Write weakness

References