Git: Privilege escalation
Gentoo Linux Security Advisory
||GLSA 201401-06 / git
||January 10, 2014
||January 10, 2014: 1
All supported architectures
A stack-based buffer overflow in Git might allow a local attacker
to gain escalated privileges.
Git is a free and open source distributed version control system
designed to handle everything from small to very large projects with
speed and efficiency.
Git contains a stack-based buffer overflow in the is_git_directory
function in setup.c.
A local attacker could gain escalated privileges via a specially crafted
There is no known workaround at this time.
All Git users should upgrade to the latest version:
Code Listing 3.1: Resolution
# emerge --sync
# emerge --ask --oneshot --verbose ">=dev-vcs/git-126.96.36.199"
NOTE: This is a legacy GLSA. Updates for all affected architectures are
available since September 11, 2010. It is likely that your system is
already no longer affected by this issue.