CVE-2018-19486
git: Improper handling of PATH allows for commands to be executed from the current directory
Severidad por fuente
La etiqueta propia de Trivy es CRITICAL. Crítica según NVD, Photon OS. Más baja según Red Hat (alta), Amazon (alta), Ubuntu (media).
Descripción
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.
Paquetes afectados y versiones corregidas
| Fuente | Paquete | Corregido en |
|---|---|---|
| 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 y 12 más | 2.14.5-1.60.amzn1 |
| amazon linux 2 | git, git-all, git-core y 13 más | 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 |
Mostrar las 51 entradas de 20 fuentes
| Fuente | Paquete | Corregido en |
|---|---|---|
| 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 |
Referencias
- 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