CVEvulnerability
CVE-2010-2542
7.5 HIGH
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
- http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc git.kernel.org
- 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
- http://git.kernel.org/?p=git/git.git%3Ba=commit%3Bh=3c9d0414ed2db0167e6c828b547be8fc9f88fccc git.kernel.org
- 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