HIGH
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.
http://git.kernel.org/?p=git/git.git;a=commit;h=3c9d0414ed2db0167e6c828b547be8fc9f88fccc
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