PT-2018-2677

CVE-2018-19486

·

Published

2018-11-21

·

Updated

2024-06-15

Description by

CVSS 2.0
10
Critical
MetricsAV:N/AC:L/Au:N/C:C/I:C/A:C
Name of the Vulnerable Software and Affected Versions Git versions prior to 2.19.2
Description The issue is related to the run command function in Git, which is associated with insufficient input sanitization. This can allow a remote attacker to execute arbitrary commands. The problem arises from a change in the run command API and run-command.c involving the use of execv instead of execvp, which was made in 2017. This change causes Git to execute commands from the current working directory under certain conditions.
Recommendations For Git versions prior to 2.19.2, update to version 2.19.2 or later to resolve the issue. As a temporary workaround, consider restricting the use of the run command function until a patch is applied.
Exploitability
Fix
Impacts
Vendors
Affected products
Related identifiers
MGASA-2019-0199
OPENSUSE-SU-2018_4257-1
OPENSUSE-SU-2024:10786-1
RHSA-2018:3800
SUSE-SU-2018:4190-1
SUSE-SU-2018_4190-1
USN-3829-1
Found an issue in the description? Have something to add? Feel free to write us 👾