CVE-2010-2542
publishedGit: Arbitrary code execution via specially-crafted .git file
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | redhat |
| Debian | lenny | git-core | Advisory build | 1:1.5.6.5-3+lenny3.1 | DSA-2114-1 |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | redhat · cna |
Weaknesses
1- n/a
References
9- http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc
- SUSE-SR:2011:004 http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html
- 43457 http://secunia.com/advisories/43457
- http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt
- [oss-security] 20100721 CVE request: git http://www.openwall.com/lists/oss-security/2010/07/22/1
- [oss-security] 20100722 Re: CVE request: git http://www.openwall.com/lists/oss-security/2010/07/22/4
- 41891 http://www.securityfocus.com/bid/41891
- ADV-2011-0464 http://www.vupen.com/english/advisories/2011/0464
- https://bugzilla.redhat.com/show_bug.cgi?id=618108
Provider assertions
2redhat · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 0f2a549394fbd653d2358a4698c5e2105587df439b73296a2a83d9700b1ac996
- Ingested
- 23 Sep 2026, 07:38:49 UTC
- Source record
- Official CVE record