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.
References
Link | Resource |
---|---|
https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt | Release Notes Third Party Advisory |
https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60 | Mailing List Patch Third Party Advisory |
https://usn.ubuntu.com/3829-1/ | Third Party Advisory |
http://www.securitytracker.com/id/1042166 | Third Party Advisory VDB Entry |
http://www.securityfocus.com/bid/106020 | Third Party Advisory VDB Entry |
https://access.redhat.com/errata/RHSA-2018:3800 | Third Party Advisory |
https://security.gentoo.org/glsa/201904-13 |
Information
Published : 2018-11-23 00:29
Updated : 2019-04-10 20:29
NVD link : CVE-2018-19486
Mitre link : CVE-2018-19486
JSON object : View
CWE
CWE-426
Untrusted Search Path
Products Affected
git-scm
- git
canonical
- ubuntu_linux
linux
- linux_kernel