Gentoo Logo

Git: Privilege escalation

Content:

1.  Gentoo Linux Security Advisory

Version Information

Advisory Reference GLSA 201401-06 / git
Release Date January 10, 2014
Latest Revision January 10, 2014: 1
Impact high
Exploitable local
Package Vulnerable versions Unaffected versions Architecture(s)
dev-vcs/git < 1.7.2.2 >= 1.7.2.2 All supported architectures

Related bugreports: #335891

Synopsis

A stack-based buffer overflow in Git might allow a local attacker to gain escalated privileges.

2.  Impact Information

Background

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.

Description

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.

3.  Resolution Information

Workaround

There is no known workaround at this time.

Resolution

All Git users should upgrade to the latest version:

Code Listing 3.1: Resolution

  # 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.

4.  References



Print

Page updated January 10, 2014

Summary: This is a Gentoo Linux Security Advisory

Security Team
Contact Address

Donate to support our development efforts.

Copyright 2001-2014 Gentoo Foundation, Inc. Questions, Comments? Contact us.