CVE-2018-19486
publishedgit: Improper handling of PATH allows for commands to be executed from the current directory
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| n/a | — | n/an/a | Affected | Not stated | mitre |
| Amazon Linux | AL2 | Release evaluationALAS2-2018-1136 | Fixed | Not stated | Amazon Linux assessment |
| Alpine Linux | v3.6 | git | Fixed | 2.13.7-r2 | Package fix record |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitaarch64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| SUSE / openSUSE | SLE-15 | gitaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| Alpine Linux | v3.7 | git | Fixed | 2.15.r-r1 | Package fix record |
| Alpine Linux | v3.8 | git | Fixed | 2.18.1-r1 | Package fix record |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitppc64le | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
Show 94 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gits390x | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitsrc | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitx86_64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-allnoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-coreaarch64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-coreppc64le | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-cores390x | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-corex86_64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-core-docnoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-cvsnoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemonaarch64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemonppc64le | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemons390x | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-daemonx86_64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfoaarch64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfoppc64le | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfos390x | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-debuginfox86_64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-emailnoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-guinoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebaarch64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebppc64le | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebs390x | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-instawebx86_64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-p4noarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtreeaarch64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtreeppc64le | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtrees390x | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-subtreex86_64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-svnaarch64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-svnppc64le | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-svns390x | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-git-svnx86_64 | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitknoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-gitwebnoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-perl-Gitnoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| Red Hat Enterprise Linux | RHEL-7 | rh-git218-perl-Git-SVNnoarch | Advisory build | 2.18.1-3.el7 | RHSA-2018:3800 |
| SUSE / openSUSE | SLE-15 | gitppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | gits390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | gitx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-archaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-archppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-archs390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-archx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-coreaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-coreppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-cores390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-corex86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-cvsaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-cvsppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-cvss390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-cvsx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-daemonaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-daemonppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-daemons390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-daemonx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-docnoarch | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-emailaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-emailppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-emails390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-emailx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-guiaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-guippc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-guis390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-guix86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-svnaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-svnppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-svns390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-svnx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-webaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-webppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-webs390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | git-webx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | gitkaarch64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | gitkppc64le | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | gitks390x | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | SLE-15 | gitkx86_64 | Advisory build | 2.16.4-3.9.2 | SUSE-SU-2018:4190-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitaarch64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitppc64le | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gits390x | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | gitx86_64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-archaarch64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-archppc64le | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-archs390x | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-archx86_64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-coreaarch64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-coreppc64le | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-cores390x | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-corex86_64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-credential-gnome-keyringaarch64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-credential-gnome-keyringppc64le | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-credential-gnome-keyrings390x | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-credential-gnome-keyringx86_64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
| SUSE / openSUSE | openSUSE-Tumbleweed | git-credential-libsecretaarch64 | Advisory build | 2.33.0-1.3 | OPENSUSE-SU-2024:10786-1 |
Package entries are limited to the first 100 builds and 100 linked advisories.
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
No normalized assessments.
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| n/a | n/a | n/a (affected) | mitre · cna |
Weaknesses
1- n/a
References
7- 106020 http://www.securityfocus.com/bid/106020
- 1042166 http://www.securitytracker.com/id/1042166
- RHSA-2018:3800 https://access.redhat.com/errata/RHSA-2018:3800
- https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60
- https://git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt
- GLSA-201904-13 https://security.gentoo.org/glsa/201904-13
- USN-3829-1 https://usn.ubuntu.com/3829-1/
Provider assertions
2mitre · cna
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- f75a180f6aea03a6ce4fa18084e47264574d7025b9bca5cd004ab80e92e1cd49
- Ingested
- 23 Sep 2026, 07:44:07 UTC
- Source record
- Official CVE record