git: Improper handling of PATH allows for commands to executed from current directory (CVE-2018-19486)
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.
Fixed In Version:¶
Fixed by: https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60
Introduced by: https://git.kernel.org/pub/scm/git/git.git/commit/?id=e3a434468fecca7c14a6bef32050dfa60534fde6