Gentoo: git git-daemon Denial of Service
Posted by Benjamin D. Thomas   
Gentoo An error in git-daemon might lead to a Denial of Service via resource consumption.
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Gentoo Linux Security Advisory                           GLSA 200907-05
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                            http://security.gentoo.org/
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

  Severity: Normal
     Title: git: git-daemon Denial of Service
      Date: July 12, 2009
      Bugs: #273905
        ID: 200907-05

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

Synopsis
========

An error in git-daemon might lead to a Denial of Service via resource
consumption.

Background
==========

git - the stupid content tracker, the revision control system used by
the Linux kernel team.

Affected packages
=================

    -------------------------------------------------------------------
     Package       /  Vulnerable  /                         Unaffected
    -------------------------------------------------------------------
  1  dev-util/git      < 1.6.3.3                            >= 1.6.3.3

Description
===========

Shawn O. Pearce reported that git-daemon runs into an infinite loop
when handling requests that contain unrecognized arguments.

Impact
======

A remote unauthenticated attacker could send a specially crafted
request to git-daemon, possibly leading to a Denial of Service (CPU
consumption).

Workaround
==========

There is no known workaround at this time.

Resolution
==========

All git users should upgrade to the latest version:

    # emerge --sync
    # emerge --ask --oneshot --verbose ">=dev-util/git-1.6.3.3"

References
==========

  [ 1 ] CVE-2009-2108
        http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2009-2108

Availability
============

This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:

  http://security.gentoo.org/glsa/glsa-200907-05.xml

Concerns?
=========

Security is a primary focus of Gentoo Linux and ensuring the
confidentiality and security of our users machines is of utmost
importance to us. Any security concerns should be addressed to
security@gentoo.org or alternatively, you may file a bug at
http://bugs.gentoo.org.

License
=======

Copyright 2009 Gentoo Foundation, Inc; referenced text
belongs to its owner(s).

The contents of this document are licensed under the
Creative Commons - Attribution / Share Alike license.

http://creativecommons.org/licenses/by-sa/2.5