GLSA-201401-06 : Git: Privilege escalation

This script is Copyright (C) 2014 Tenable Network Security, Inc.


Synopsis :

The remote Gentoo host is missing one or more security-related
patches.

Description :

The remote host is affected by the vulnerability described in GLSA-201401-06
(Git: Privilege escalation)

Git contains a stack-based buffer overflow in the is_git_directory
function in setup.c.

Impact :

A local attacker could gain escalated privileges via a specially crafted
git repository.

Workaround :

There is no known workaround at this time.

See also :

http://www.gentoo.org/security/en/glsa/glsa-201401-06.xml

Solution :

All Git users should upgrade to the latest version:
# emerge --sync
# emerge --ask --oneshot --verbose '>=dev-vcs/git-1.7.2.2'
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.

Risk factor :

High / CVSS Base Score : 7.5
(CVSS2#AV:N/AC:L/Au:N/C:P/I:P/A:P)
CVSS Temporal Score : 6.5
(CVSS2#E:ND/RL:OF/RC:C)
Public Exploit Available : false

Family: Gentoo Local Security Checks

Nessus Plugin ID: 71906 ()

Bugtraq ID: 41891

CVE ID: CVE-2010-2542