CVE-2018-19486

git: Improper handling of PATH allows for commands to be executed from the current directory

Published Nov 23, 2018 CVSS 3.0 · 9.8 Critical EPSS 4.1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
EUVD EUVD EUVD-2018-11175 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.
Ubuntu USN Ubuntu USN USN-3829-1 Git vulnerabilities
History

No history.

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Aug 5, 2024, 11:37 AM
Reserved
Nov 23, 2018, 12:00 AM
Status
Modified
Published
Nov 23, 2018, 8:29 AM
Modified
Jun 17, 2026, 1:49 AM
Severity
Important
Public date
Oct 24, 2018, 12:00 AM