CVE-2010-2542

Git: Arbitrary code execution via specially-crafted .git file

Published Aug 11, 2010 CVSS 2.0 · 7.5 High EPSS 2.5% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Debian DSA Debian DSA DSA-2114-1 New git-core packages fix regression
EUVD EUVD EUVD-2010-2546 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.
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
redhat
Published
Updated
Aug 7, 2024, 2:39 AM
Reserved
Jun 30, 2010, 12:00 AM
Status
Modified
Published
Aug 11, 2010, 6:47 PM
Modified
Jun 16, 2026, 11:20 PM
Severity
Low
Public date
Jul 20, 2010, 12:00 AM