Rapid7 Vulnerability & Exploit Database

Alpine Linux: CVE-2018-19486: git Improper handling of PATH allows for commands to executed from current directory

Free InsightVM Trial No Credit Card Necessary
Watch Demo See how it all works
Back to Search

Alpine Linux: CVE-2018-19486: git Improper handling of PATH allows for commands to executed from current directory

Severity
8
CVSS
(AV:N/AC:L/Au:N/C:P/I:P/A:P)
Published
11/23/2018
Created
03/19/2019
Added
12/05/2018
Modified
06/17/2022

Description

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.

Solution(s)

  • alpine-linux-upgrade-git

With Rapid7 live dashboards, I have a clear view of all the assets on my network, which ones can be exploited, and what I need to do in order to reduce the risk in my environment in real-time. No other tool gives us that kind of value and insight.

– Scott Cheney, Manager of Information Security, Sierra View Medical Center

;