In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.
{ "availability": "No subscription required", "ubuntu_priority": "high", "binaries": [ { "git-core": "1:1.9.1-1ubuntu0.8", "git-daemon-run": "1:1.9.1-1ubuntu0.8", "git-email": "1:1.9.1-1ubuntu0.8", "git-mediawiki": "1:1.9.1-1ubuntu0.8", "git": "1:1.9.1-1ubuntu0.8", "git-el": "1:1.9.1-1ubuntu0.8", "git-cvs": "1:1.9.1-1ubuntu0.8", "git-bzr": "1:1.9.1-1ubuntu0.8", "gitk": "1:1.9.1-1ubuntu0.8", "git-doc": "1:1.9.1-1ubuntu0.8", "git-arch": "1:1.9.1-1ubuntu0.8", "git-daemon-sysvinit": "1:1.9.1-1ubuntu0.8", "git-svn": "1:1.9.1-1ubuntu0.8", "git-gui": "1:1.9.1-1ubuntu0.8", "git-man": "1:1.9.1-1ubuntu0.8", "gitweb": "1:1.9.1-1ubuntu0.8", "git-all": "1:1.9.1-1ubuntu0.8" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "high", "binaries": [ { "git-core": "1:2.7.4-0ubuntu1.4", "git-daemon-run": "1:2.7.4-0ubuntu1.4", "git-email": "1:2.7.4-0ubuntu1.4", "git-mediawiki": "1:2.7.4-0ubuntu1.4", "git": "1:2.7.4-0ubuntu1.4", "git-el": "1:2.7.4-0ubuntu1.4", "git-cvs": "1:2.7.4-0ubuntu1.4", "git-doc": "1:2.7.4-0ubuntu1.4", "gitk": "1:2.7.4-0ubuntu1.4", "git-arch": "1:2.7.4-0ubuntu1.4", "git-daemon-sysvinit": "1:2.7.4-0ubuntu1.4", "git-svn": "1:2.7.4-0ubuntu1.4", "git-gui": "1:2.7.4-0ubuntu1.4", "git-man": "1:2.7.4-0ubuntu1.4", "gitweb": "1:2.7.4-0ubuntu1.4", "git-all": "1:2.7.4-0ubuntu1.4" } ] }
{ "availability": "No subscription required", "ubuntu_priority": "high", "binaries": [ { "git-daemon-run": "1:2.17.1-1ubuntu0.1", "git-email": "1:2.17.1-1ubuntu0.1", "git-mediawiki": "1:2.17.1-1ubuntu0.1", "git": "1:2.17.1-1ubuntu0.1", "git-el": "1:2.17.1-1ubuntu0.1", "git-cvs": "1:2.17.1-1ubuntu0.1", "git-doc": "1:2.17.1-1ubuntu0.1", "gitk": "1:2.17.1-1ubuntu0.1", "git-dbgsym": "1:2.17.1-1ubuntu0.1", "git-daemon-sysvinit": "1:2.17.1-1ubuntu0.1", "git-svn": "1:2.17.1-1ubuntu0.1", "git-gui": "1:2.17.1-1ubuntu0.1", "git-man": "1:2.17.1-1ubuntu0.1", "gitweb": "1:2.17.1-1ubuntu0.1", "git-all": "1:2.17.1-1ubuntu0.1" } ] }