CVE-2010-2542
HIGH 7.5CVSS 2.0Stack-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.
- Published
- 11 Aug 2010
- Last modified
- 16 Jun 2026
- Assigned by
- secalert@redhat.com
- NVD status
- Modified
- Weakness
- CWE-787
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | git-scm | gitcpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
< 1.7.2.1 | 1.7.2.1 |
References
- http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html · Third Party Advisory
- http://secunia.com/advisories/43457 · Third Party Advisory
- http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt · Broken Link
- http://www.openwall.com/lists/oss-security/2010/07/22/1 · Mailing List, Third Party Advisory
- http://www.openwall.com/lists/oss-security/2010/07/22/4 · Mailing List, Third Party Advisory
- http://www.securityfocus.com/bid/41891 · Third Party Advisory, VDB Entry
- http://www.vupen.com/english/advisories/2011/0464 · Permissions Required
- https://bugzilla.redhat.com/show_bug.cgi?id=618108 · Issue Tracking, Third Party Advisory
History
- 25 Nov 2026 20:16 UTC · NVD: first stored (published 11 Aug 2010)