VDB

CVE-2018-19486

CVE-2018-19486 PUBLISHED

Reported by mitre · Published November 23, 2018

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 versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
gitAlpine2.18.1-r1, 2.15.r-r1, 2.13.7-r2
perl-Git-SVNAmazon Linux2.17.2-2.amzn2
gitkAmazon Linux2.17.2-2.amzn2
perl-GitAmazon Linux2.17.2-2.amzn2
git-daemonAmazon Linux2.17.2-2.amzn2
gitwebAmazon Linux2.17.2-2.amzn2
gitgit-scm2.19.2
gitUbuntu:18.04:LTS1:2.17.1-1ubuntu0.4

Affected products

VendorProductVersions
n/an/an/a
alpinegit0, 0, 0
amazon:2perl-Git-SVN0
amazon:2gitk0
amazon:2perl-Git0
amazon:2git-daemon0
amazon:2gitweb0
n/an/a*
amazon:2git-core0
amazon:2git-svn0
amazon:2git-all0
amazon:2git-core-doc0
amazon:2git-email0
amazon:2git-p40
amazon:2git0
amazon:2git-gui0
amazon:2git-subtree0
amazon:2git-cvs0

Timeline

  • Nov 23, 2018 CVE Published
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (2 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (4 in total, the first dated here)
  • Sep 22, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-19486
vulnetix vdb fixes CVE-2018-19486

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-19486/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›