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.
Impact
Base Score 2.0
7.50
Severity 2.0
HIGH
Vulnerable products and versions
| CPE | From | Up to |
|---|---|---|
| cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | 1.7.2.1 (excluding) |
To consult the complete list of CPE names with products and versions, see this page
References to Advisories, Solutions, and Tools
- http://git.kernel.org/?p=git/git.git%3Ba%3Dcommit%3Bh%3D3c9d0414ed2db0167e6c828b547be8fc9f88fccc
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html
- http://secunia.com/advisories/43457
- http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt
- http://www.openwall.com/lists/oss-security/2010/07/22/1
- http://www.openwall.com/lists/oss-security/2010/07/22/4
- http://www.securityfocus.com/bid/41891
- http://www.vupen.com/english/advisories/2011/0464
- https://bugzilla.redhat.com/show_bug.cgi?id=618108
- http://git.kernel.org/?p=git/git.git%3Ba%3Dcommit%3Bh%3D3c9d0414ed2db0167e6c828b547be8fc9f88fccc
- http://lists.opensuse.org/opensuse-security-announce/2011-02/msg00004.html
- http://secunia.com/advisories/43457
- http://www.kernel.org/pub/software/scm/git/docs/RelNotes-1.7.2.1.txt
- http://www.openwall.com/lists/oss-security/2010/07/22/1
- http://www.openwall.com/lists/oss-security/2010/07/22/4
- http://www.securityfocus.com/bid/41891
- http://www.vupen.com/english/advisories/2011/0464
- https://bugzilla.redhat.com/show_bug.cgi?id=618108



