Vulnerabilities · 2018 · Git-scm
CVE-2018-19486
Git-scm Git vulnerability
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.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Git, Ubuntu Linux. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Git-scm Git runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60 · Patch
- www.securityfocus.com/bid/106020 · Third Party Advisory
- www.securitytracker.com/id/1042166 · Third Party Advisory
- access.redhat.com/errata/RHSA-2018:3800 · Third Party Advisory
- git.kernel.org/pub/scm/git/git.git/tree/Documentation/RelNotes/2.19.2.txt · Third Party Advisory
- usn.ubuntu.com/3829-1/ · Third Party Advisory
- security.gentoo.org/glsa/201904-13
- nvd.nist.gov/vuln/detail/CVE-2018-19486
- cve.org/CVERecord?id=CVE-2018-19486
More vulnerabilities in Git-scm products
CVE-2025-48384CVE-2024-32465CVE-2024-32021CVE-2024-32020CVE-2024-32004CVE-2023-29007CVE-2023-25652CVE-2023-23946All 41
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.