Git before 2.19.2 on Linux and UNIX executes commands from the current working directory (as if '.' were at the end of $PATH) in certain cases involving the run_command() API and run-command.c, because there was a dangerous change from execvp to execv during 2017.
{ "availability": "No subscription required", "ubuntu_priority": "medium", "binaries": [ { "git-daemon-run": "1:2.17.1-1ubuntu0.4", "git-email": "1:2.17.1-1ubuntu0.4", "git-mediawiki": "1:2.17.1-1ubuntu0.4", "git": "1:2.17.1-1ubuntu0.4", "git-el": "1:2.17.1-1ubuntu0.4", "git-cvs": "1:2.17.1-1ubuntu0.4", "git-doc": "1:2.17.1-1ubuntu0.4", "gitk": "1:2.17.1-1ubuntu0.4", "git-dbgsym": "1:2.17.1-1ubuntu0.4", "git-daemon-sysvinit": "1:2.17.1-1ubuntu0.4", "git-svn": "1:2.17.1-1ubuntu0.4", "git-gui": "1:2.17.1-1ubuntu0.4", "git-man": "1:2.17.1-1ubuntu0.4", "gitweb": "1:2.17.1-1ubuntu0.4", "git-all": "1:2.17.1-1ubuntu0.4" } ] }