Skip to content
OpenAdvisories
Unscored CVE-2018-19486 EUVD-2018-11175GHSA-4rxq-j825-6wv8

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 ca…

Published Nov 23, 2018 · Updated Aug 5, 2024 · Assigned by mitre

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.

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 git 1:2.19.2-1 —
Debian 13 git 1:2.19.2-1 —
Debian 12 git 1:2.19.2-1 —
ReleasePackageFixed inAdvisory
Ubuntu 18.04 LTS git 1:2.17.1-1ubuntu0.4 USN-3829-1
Ubuntu 16.04 LTS git 1:2.7.4-0ubuntu1.6 USN-3829-1
Ubuntu 14.04 LTS git 1:1.9.1-1ubuntu0.10 USN-3829-1
ReleasePackageFixed inAdvisory
RHEL 3 rh-git218-git +15 2.18.1-3.el7 RHSA-2018:3800
ReleasePackageFixed inAdvisory
SLES 15 git 2.16.4-3.9.2 SUSE-SU-2018:4190-1
ReleasePackageFixed inAdvisory
openSUSE Tumbleweed git 2.33.0-1.3 openSUSE-SU-2024:10786-1
ReleasePackageFixed inAdvisory
Alpine v3.8 git 2.18.1-r1 —
Alpine v3.6 git 2.13.7-r2 —

Amazon Linux

ReleasePackageFixed inAdvisory
Amazon Linux 2 git +14 2.17.2-2.amzn2 ALAS2-2018-1136

Advisories 5

References