CVE-2017-8386

NameCVE-2017-8386
Descriptiongit-shell in git before 2.4.12, 2.5.x before 2.5.6, 2.6.x before 2.6.7, 2.7.x before 2.7.5, 2.8.x before 2.8.5, 2.9.x before 2.9.4, 2.10.x before 2.10.3, 2.11.x before 2.11.2, and 2.12.x before 2.12.3 might allow remote authenticated users to gain privileges via a repository name that starts with a - (dash) character.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SuSE, Mageia, GitHub code/issues, web search, more)
ReferencesDLA-938-1, DSA-3848-1
NVD severitymedium (attack range: remote)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
git (PTS)wheezy1:1.7.10.4-1+wheezy3vulnerable
wheezy (security)1:1.7.10.4-1+wheezy4fixed
jessie1:2.1.4-2.1+deb8u3fixed
jessie (security)1:2.1.4-2.1+deb8u4fixed
stretch1:2.11.0-3fixed
stretch (security)1:2.11.0-3+deb9u1fixed
buster1:2.14.1-1fixed
sid1:2.14.1-2fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
gitsource(unstable)1:2.11.0-3medium
gitsourcejessie1:2.1.4-2.1+deb8u3mediumDSA-3848-1
gitsourcewheezy1:1.7.10.4-1+wheezy4mediumDLA-938-1

Notes

http://lkml.iu.edu/hypermail/linux/kernel/1705.1/01337.html
http://lkml.iu.edu/hypermail/linux/kernel/1705.1/01346.html
https://insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/
https://git.kernel.org/pub/scm/git/git.git/commit/?id=3ec804490a265f4c418a321428c12f3f18b7eff5

Search for package or bug name: Reporting problems