blob: 82d697f2ea70a1337ba3b4e126006f6475e25483 [file] [log] [blame]
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="201401-06">
<title>Git: Privilege escalation</title>
<synopsis>A stack-based buffer overflow in Git might allow a local attacker
to gain escalated privileges.
</synopsis>
<product type="ebuild">git </product>
<announced>January 10, 2014</announced>
<revised>January 10, 2014: 1</revised>
<bug>335891</bug>
<access>local</access>
<affected>
<package name="dev-vcs/git" auto="yes" arch="*">
<unaffected range="ge">1.7.2.2</unaffected>
<vulnerable range="lt">1.7.2.2</vulnerable>
</package>
</affected>
<background>
<p>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.
</p>
</background>
<description>
<p>Git contains a stack-based buffer overflow in the is_git_directory
function in setup.c.
</p>
</description>
<impact type="high">
<p>A local attacker could gain escalated privileges via a specially crafted
git repository.
</p>
</impact>
<workaround>
<p>There is no known workaround at this time.</p>
</workaround>
<resolution>
<p>All Git users should upgrade to the latest version:</p>
<code>
# emerge --sync
# emerge --ask --oneshot --verbose "&gt;=dev-vcs/git-1.7.2.2"
</code>
<p>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.
</p>
</resolution>
<references>
<uri link="http://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2542">CVE-2010-2542</uri>
</references>
<metadata tag="requester" timestamp="Fri, 07 Oct 2011 23:37:23 +0000">
underling
</metadata>
<metadata tag="submitter" timestamp="Fri, 10 Jan 2014 13:31:29 +0000">Zlogene</metadata>
</glsa>