GLSA 201605-01: Git: Multiple vulnerabilities

Severity:normal
Title:Git: Multiple vulnerabilities
Date:05/02/2016
Bugs: #562884, #577482
ID:201605-01

Synopsis

Git contains multiple vulnerabilities that allow for the remote execution of arbitrary code.

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.

Affected packages

Package Vulnerable Unaffected Architecture(s)
dev-vcs/git < 2.7.3-r1 >= 2.7.3-r1 All supported architectures

Description

Git is vulnerable to the remote execution of arbitrary code by cloning repositories with large filenames or a large number of nested trees. Additionally, some protocols within Git, such as git-remote-ext, can execute arbitrary code found within URLs. These URLs that submodules use may come from arbitrary sources (e.g., .gitmodules files in a remote repository), and can effect those who enable recursive fetch. Restrict the allowed protocols to well known and safe ones.

Impact

Remote attackers could execute arbitrary code on both client and server.

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-vcs/git-2.7.3-r1"
    

References

Availability

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