ArchLinux: 201708-6: git: arbitrary command execution
Summary
A security issue has been found in git < 2.14.1. A malicious third-party can give a crafted "ssh://..." URL to an unsuspecting victim, and an attempt to visit the URL can result in any program that exists on the victim's machine being executed. Such a URL could be placed in the .gitmodules file of a malicious project, and an unsuspecting victim could be tricked into running "git clone --recurse-submodules" to trigger the vulnerability.
Resolution
Upgrade to 2.14.1-1.
# pacman -Syu "git>=2.14.1-1"
The problem has been fixed upstream in version 2.14.1.
References
https://lkml.org/lkml/2017/8/10/757 https://security.archlinux.org/CVE-2017-1000117
Workaround
None.