CVE-2018-19486
CRITICALGit < 2.19.2 - Untrusted Search Path via run_command() API
Title source: llmDescription
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 (7)
Core 7
Core References
Mailing List, Patch, Third Party Advisory x_refsource_misc
https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60
Third Party Advisory, VDB Entry vdb-entry
x_refsource_bid
http://www.securityfocus.com/bid/106020
Release Notes, Third Party Advisory x_refsource_misc
https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt
Third Party Advisory, VDB Entry vdb-entry
x_refsource_sectrack
http://www.securitytracker.com/id/1042166
Third Party Advisory vendor-advisory
x_refsource_redhat
https://access.redhat.com/errata/RHSA-2018:3800
Third Party Advisory vendor-advisory
x_refsource_ubuntu
https://usn.ubuntu.com/3829-1/
Third Party Advisory vendor-advisory
x_refsource_gentoo
https://security.gentoo.org/glsa/201904-13
Scores
CVSS v3
9.8
EPSS
0.0066
EPSS Percentile
71.5%
Attack Vector
NETWORK
CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Details
CWE
CWE-426
Status
published
Products (3)
canonical/ubuntu_linux
18.04
canonical/ubuntu_linux
18.10
git-scm/git
< 2.19.2
Published
Nov 23, 2018
Tracked Since
Feb 18, 2026