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.
[ 1 ] Buffer overflow in all git versions before 2.7.1 https://seclists.org/oss-sec/2016/q1/645 [ 2 ] CVE-2015-7545 http://nvd.nist.gov/nvd.cfm?cvename=CVE-2015-7545 [ 3 ] CVE-2016-2315 https://www.cve.org/CVERecord?id=CVE-2016-2315 [ 4 ] CVE-2016-2324 https://www.cve.org/CVERecord?id=CVE-2016-2324
This GLSA and any updates to it are available for viewing at
the Gentoo Security Website:
https://security.gentoo.org/glsa/201605-01
style>.gentoo_availability{display:block;}
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.
Get the latest Linux and open source security news straight to your inbox.
There is no known workaround at this time.