Git: Command injection A command injection vulnerability in Git may allow remote attackers to execute arbitrary code. git 2017-09-17 2017-09-17 627488 remote 2.13.5 2.13.5

Git is a small and fast distributed version control system designed to handle small and large projects.

Specially crafted ‘ssh://...’ URLs may allow the owner of the repository to execute arbitrary commands on client’s machine if those commands are already installed on the client’s system. This is especially dangerous when the third-party repository has one or more submodules with specially crafted ‘ssh://...’ URLs. Each time the repository is recursively cloned or submodules are updated the payload will be triggered.

A remote attacker, by enticing a user to clone a specially crafted repository, could possibly execute arbitrary code with the privileges of the process.

There is no known workaround at this time.

All Git users should upgrade to the latest version:

# emerge --sync # emerge --ask --oneshot --verbose ">=dev-vcs/git-2.13.5"
CVE-2017-1000117 Mailing list ARChives (MARC) Git Team Announce b-man chrisadr