<?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>2014-01-10</announced> <revised count="1">2014-01-10</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 ">=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="https://nvd.nist.gov/nvd.cfm?cvename=CVE-2010-2542">CVE-2010-2542</uri> </references> <metadata tag="requester" timestamp="2011-10-07T23:37:23Z"> underling </metadata> <metadata tag="submitter" timestamp="2014-01-10T13:31:29Z">Zlogene</metadata> </glsa>