Name | CVE-2018-19486 |
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. |
Source | CVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more) |
Vulnerable and fixed packages
The table below lists information on source packages.
Source Package | Release | Version | Status |
---|
git (PTS) | jessie, jessie (lts) | 1:2.1.4-2.1+deb8u14 | fixed |
| stretch (security) | 1:2.11.0-3+deb9u7 | fixed |
| stretch (lts), stretch | 1:2.11.0-3+deb9u11 | fixed |
| buster (security), buster, buster (lts) | 1:2.20.1-2+deb10u9 | fixed |
| bullseye | 1:2.30.2-1+deb11u2 | fixed |
| bullseye (security) | 1:2.30.2-1+deb11u3 | fixed |
| bookworm (security), bookworm | 1:2.39.5-0+deb12u1 | fixed |
| trixie | 1:2.45.2-1 | fixed |
| sid | 1:2.45.2-1.2 | fixed |
The information below is based on the following data on fixed versions.
Package | Type | Release | Fixed Version | Urgency | Origin | Debian Bugs |
---|
git | source | wheezy | (not affected) | | | |
git | source | jessie | (not affected) | | | |
git | source | stretch | (not affected) | | | |
git | source | (unstable) | 1:2.19.2-1 | | | |
Notes
[stretch] - git <not-affected> (Vulnerable code introduced later)
[jessie] - git <not-affected> (Vulnerable code introduced later)
Fixed by: https://git.kernel.org/pub/scm/git/git.git/commit/?id=321fd82389742398d2924640ce3a61791fd27d60
Introduced by: https://git.kernel.org/pub/scm/git/git.git/commit/?id=e3a434468fecca7c14a6bef32050dfa60534fde6
[wheezy] - git <not-affected> (vulnerable code was introduced later)