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.
| Package | Ecosystem | Fixed in |
|---|---|---|
| git | Alpine | 2.18.1-r1, 2.15.r-r1, 2.13.7-r2 |
| perl-Git-SVN | Amazon Linux | 2.17.2-2.amzn2 |
| gitk | Amazon Linux | 2.17.2-2.amzn2 |
| perl-Git | Amazon Linux | 2.17.2-2.amzn2 |
| git-daemon | Amazon Linux | 2.17.2-2.amzn2 |
| gitweb | Amazon Linux | 2.17.2-2.amzn2 |
| git | git-scm | 2.19.2 |
| git | Ubuntu:18.04:LTS | 1:2.17.1-1ubuntu0.4 |
Affected products
| Vendor | Product | Versions |
|---|---|---|
| n/a | n/a | n/a |
| alpine | git | 0, 0, 0 |
| amazon:2 | perl-Git-SVN | 0 |
| amazon:2 | gitk | 0 |
| amazon:2 | perl-Git | 0 |
| amazon:2 | git-daemon | 0 |
| amazon:2 | gitweb | 0 |
| n/a | n/a | * |
| amazon:2 | git-core | 0 |
| amazon:2 | git-svn | 0 |
| amazon:2 | git-all | 0 |
| amazon:2 | git-core-doc | 0 |
| amazon:2 | git-email | 0 |
| amazon:2 | git-p4 | 0 |
| amazon:2 | git | 0 |
| amazon:2 | git-gui | 0 |
| amazon:2 | git-subtree | 0 |
| amazon:2 | git-cvs | 0 |
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
- x_refsource_MISC
- 106020 vdb-entryx_refsource_BID
- x_refsource_MISC
- 1042166 vdb-entryx_refsource_SECTRACK
- RHSA-2018:3800 vendor-advisoryx_refsource_REDHAT
- USN-3829-1 vendor-advisoryx_refsource_UBUNTU
- GLSA-201904-13 vendor-advisoryx_refsource_GENTOO