CVE-2018-19486
git: Improper handling of PATH allows for commands to be executed from the current directory
Kaynağa göre önem derecesi
Trivy'nin kendi etiketi CRITICAL. Kritik diyenler: NVD, Photon OS. Daha düşük diyenler: Red Hat (yüksek), Amazon (yüksek), Ubuntu (orta).
Açıklama
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.
Etkilenen paketler ve düzeltilmiş sürümler
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Photon OS 1.0 | git | 2.23.0-1.ph1 |
| Photon OS 2.0 | git | 2.23.0-1.ph2 |
| Photon OS 3.0 | git | 2.23.0-1.ph3 |
| Photon OS 5.0 | git, git-extras, git-lang | 2.43.7-1.ph5 |
| alpine 3.6 | git | 2.13.7-r2 |
| alpine 3.7 | git | 2.15.r-r1 |
| alpine 3.8 | git | 2.18.1-r1 |
| amazon linux 1 | emacs-git, emacs-git-el, git ve 12 tane daha | 2.14.5-1.60.amzn1 |
| amazon linux 2 | git, git-all, git-core ve 13 tane daha | 2.17.2-2.amzn2 |
| debian 11 | git | 1:2.19.2-1 |
| debian 12 | git | 1:2.19.2-1 |
| debian 13 | git | 1:2.19.2-1 |
20 kaynaktaki 51 kaydın hepsini göster
| Kaynak | Paket | Düzeltildiği sürüm |
|---|---|---|
| Photon OS 1.0 | git | 2.23.0-1.ph1 |
| Photon OS 2.0 | git | 2.23.0-1.ph2 |
| Photon OS 3.0 | git | 2.23.0-1.ph3 |
| Photon OS 5.0 | git | 2.43.7-1.ph5 |
| Photon OS 5.0 | git-extras | 2.43.7-1.ph5 |
| Photon OS 5.0 | git-lang | 2.43.7-1.ph5 |
| alpine 3.6 | git | 2.13.7-r2 |
| alpine 3.7 | git | 2.15.r-r1 |
| alpine 3.8 | git | 2.18.1-r1 |
| amazon linux 1 | emacs-git | 2.14.5-1.60.amzn1 |
| amazon linux 1 | emacs-git-el | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-all | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-bzr | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-cvs | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-daemon | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-debuginfo | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-email | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-hg | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-p4 | 2.14.5-1.60.amzn1 |
| amazon linux 1 | git-svn | 2.14.5-1.60.amzn1 |
| amazon linux 1 | gitweb | 2.14.5-1.60.amzn1 |
| amazon linux 1 | perl-Git | 2.14.5-1.60.amzn1 |
| amazon linux 1 | perl-Git-SVN | 2.14.5-1.60.amzn1 |
| amazon linux 2 | git | 2.17.2-2.amzn2 |
| amazon linux 2 | git-all | 2.17.2-2.amzn2 |
| amazon linux 2 | git-core | 2.17.2-2.amzn2 |
| amazon linux 2 | git-core-doc | 2.17.2-2.amzn2 |
| amazon linux 2 | git-cvs | 2.17.2-2.amzn2 |
| amazon linux 2 | git-daemon | 2.17.2-2.amzn2 |
| amazon linux 2 | git-debuginfo | 2.17.2-2.amzn2 |
| amazon linux 2 | git-email | 2.17.2-2.amzn2 |
| amazon linux 2 | git-gui | 2.17.2-2.amzn2 |
| amazon linux 2 | git-p4 | 2.17.2-2.amzn2 |
| amazon linux 2 | git-subtree | 2.17.2-2.amzn2 |
| amazon linux 2 | git-svn | 2.17.2-2.amzn2 |
| amazon linux 2 | gitk | 2.17.2-2.amzn2 |
| amazon linux 2 | gitweb | 2.17.2-2.amzn2 |
| amazon linux 2 | perl-Git | 2.17.2-2.amzn2 |
| amazon linux 2 | perl-Git-SVN | 2.17.2-2.amzn2 |
| debian 11 | git | 1:2.19.2-1 |
| debian 12 | git | 1:2.19.2-1 |
| debian 13 | git | 1:2.19.2-1 |
| debian 14 | git | 1:2.19.2-1 |
| echo | git | 1:2.19.2-1 |
| root.io debian 11 | rootio-git | 1:2.19.2-1 |
| root.io debian 12 | rootio-git | 1:2.19.2-1 |
| root.io debian 13 | rootio-git | 1:2.19.2-1 |
| ubuntu 18.04 | git | 1:2.17.1-1ubuntu0.4 |
| ubuntu 18.04-ESM | git | 1:2.17.1-1ubuntu0.4 |
| ubuntu 18.10 | git | 1:2.19.1-1ubuntu1.1 |
Referanslar
- http://www.securityfocus.com/bid/106020
- http://www.securitytracker.com/id/1042166
- https://access.redhat.com/errata/RHSA-2018:3800
- https://access.redhat.com/security/cve/CVE-2018-19486
- 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
- https://nvd.nist.gov/vuln/detail/CVE-2018-19486
- https://security.gentoo.org/glsa/201904-13