GLSA 200809-16: Git: User-assisted execution of arbitrary code

Severity:normal
Title:Git: User-assisted execution of arbitrary code
Date:09/25/2008
Bugs: #234075
ID:200809-16

Synopsis

Multiple buffer overflow vulnerabilities have been discovered in Git.

Background

Git is a distributed version control system.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-util/git < 1.5.6.4 >= 1.5.6.4 All supported architectures

Description

Multiple boundary errors in the functions diff_addremove() and diff_change() when processing overly long repository path names were reported.

Impact

A remote attacker could entice a user to run commands like "git-diff" or "git-grep" on a specially crafted repository, possibly resulting in the remote execution of arbitrary code with the privileges of the user running the application.

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.5.6.4"

References

Availability

This GLSA and any updates to it are available for viewing at the Gentoo Security Website: http://security.gentoo.org/glsa/glsa-200809-16.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 https://bugs.gentoo.org.

License

Copyright 2010 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.

Thank you!