CVE-2017-8386 in the critical feed json
git-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…
published 2017-06-01 9 y ago modified 2026-06-17 4 mo ago also EUVD-2017-17339
- cvss
- 8.8
- version 3.0, NVD
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 12.4%
- EPSS 12.4% chance of exploitation in 30 days, percentile 96%
- public exploits
- 0
- none known
Summary
git-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.
Patch / fix
- git Debian 14, Debian 13, Debian 12 1:2.11.0-3
debian advisories DEBIAN-CVE-2017-8386
- git Ubuntu 14.04 LTS 1:1.9.1-1ubuntu0.5
- git Ubuntu 16.04 LTS 1:2.7.4-0ubuntu1.1
ubuntu advisories UBUNTU-CVE-2017-8386
Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git RHEL 7 1.8.3.1-11.el7
- gitk RHEL 7 1.8.3.1-11.el7
- git-hg RHEL 7 1.8.3.1-11.el7
- git-p4 RHEL 7 1.8.3.1-11.el7
- gitweb RHEL 7 1.8.3.1-11.el7
- git-all RHEL 7 1.8.3.1-11.el7
- git-bzr RHEL 7 1.8.3.1-11.el7
- git-cvs RHEL 7 1.8.3.1-11.el7
red hat advisories RHSA-2017:2004RHSA-2017:2491
- git Studio Onsite 1.3, SLE Software Development Kit 11 SP4 1.7.12.4-0.17.1
- git SLES for SAP 12 SP2, SLES for SAP 12 SP1, SLES for Raspberry Pi 12 SP2 +4 more 2.12.3-26.1
suse advisories SUSE-SU-2017:1432-1SUSE-SU-2017:1357-1
- git openSUSE Tumbleweed 2.33.0-1.3
opensuse advisories openSUSE-SU-2024:10786-1
- git Alpine 3.3 2.6.7-r0
alpine advisories ALPINE-CVE-2017-8386
Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0
- git Arch Linux 2.13.0-1
arch linux advisories AVG-267
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2017-8386 updated cvss 5.0
git: Escape out of git-shell
-
Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 moreaffected: no fix planned “Will not fix”
-
Red Hat Enterprise Linux Client Optional (v. 7) git 1.8.3.1-11.el7, gitk 1.8.3.1-11.el7, git-hg 1.8.3.1-11.el7, git-p4 1.8.3.1-11.el7, gitweb 1.8.3.1-11.el7, git-all 1.8.3.1-11.el7, +10 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) git 1.8.3.1-11.el7, gitk 1.8.3.1-11.el7, git-hg 1.8.3.1-11.el7, git-p4 1.8.3.1-11.el7, gitweb 1.8.3.1-11.el7, git-all 1.8.3.1-11.el7, +10 more Red Hat Enterprise Linux Server (v. 7) git 1.8.3.1-11.el7, perl-Git 1.8.3.1-11.el7 Red Hat Enterprise Linux Server Optional (v. 7) gitk 1.8.3.1-11.el7, git-hg 1.8.3.1-11.el7, git-p4 1.8.3.1-11.el7, gitweb 1.8.3.1-11.el7, git-all 1.8.3.1-11.el7, git-bzr 1.8.3.1-11.el7, +8 more Red Hat Enterprise Linux Workstation (v. 7) git 1.8.3.1-11.el7, perl-Git 1.8.3.1-11.el7 Red Hat Enterprise Linux Workstation Optional (v. 7) gitk 1.8.3.1-11.el7, git-hg 1.8.3.1-11.el7, git-p4 1.8.3.1-11.el7, gitweb 1.8.3.1-11.el7, git-all 1.8.3.1-11.el7, git-bzr 1.8.3.1-11.el7, +8 morefixed: vendor fix RHSA-2017:2004
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-git29-git 2.9.3-3.el6, rh-git29-gitk 2.9.3-3.el6, rh-git29-git-p4 2.9.3-3.el6, rh-git29-gitweb 2.9.3-3.el6, rh-git29-git-all 2.9.3-3.el6, rh-git29-git-cvs 2.9.3-3.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git29-git 2.9.3-3.el7, rh-git29-gitk 2.9.3-3.el7, rh-git29-git-p4 2.9.3-3.el7, rh-git29-gitweb 2.9.3-3.el7, rh-git29-git-all 2.9.3-3.el7, rh-git29-git-cvs 2.9.3-3.el7, +7 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-git29-git 2.9.3-3.el6, rh-git29-gitk 2.9.3-3.el6, rh-git29-git-p4 2.9.3-3.el6, rh-git29-gitweb 2.9.3-3.el6, rh-git29-git-all 2.9.3-3.el6, rh-git29-git-cvs 2.9.3-3.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git29-git 2.9.3-3.el7, rh-git29-gitk 2.9.3-3.el7, rh-git29-git-p4 2.9.3-3.el7, rh-git29-gitweb 2.9.3-3.el7, rh-git29-git-all 2.9.3-3.el7, rh-git29-git-cvs 2.9.3-3.el7, +7 morefixed: vendor fix RHSA-2017:2491
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
12.39% chance of exploitation in the next 30 days, higher than 96% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- ubuntu.com http://www.ubuntu.com/usn/USN-3287-1 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| NVD | 3.0 | 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | 2.0 | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
References
-
kernel.googlesource.com
/pub/scm/git/git/+/3ec804490a265f4c418a321428c12f3f18b7eff5
third-party-advisory
-
ubuntu.com
/usn/USN-3287-1
vendor-advisory, exploit, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/3ISHYFLM2ACYHHY3JHCLF75X7UF4ZMDM/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/DPYRN7APMHY4ZFDPAKD22J5R4QJFY2JP/
vendor-advisory
-
security.gentoo.org
/glsa/201706-04
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/FDS3LSJJ3YGGQYIVPKQDVOCXWDSF6JGF/
vendor-advisory
-
access.redhat.com
/errata/RHSA-2017:2491
vendor-advisory
-
lists.opensuse.org
/opensuse-updates/2017-05/msg00090.html
vendor-advisory, mailing-list, third-party-advisory
-
access.redhat.com
/errata/RHSA-2017:2004
vendor-advisory
-
debian.org
/security/2017/dsa-3848
vendor-advisory, third-party-advisory, vdb-entry
-
public-inbox.org
/git/xmqq8tm5ziat.fsf%40gitster.mtv.corp.google.com/
mailing-list
-
insinuator.net
/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/
mitigation, third-party-advisory
-
securitytracker.com
/id/1038479
vdb-entry, third-party-advisory
-
securityfocus.com
/bid/98409
vdb-entry, third-party-advisory
Sources
- CVE List CVE-2017-8386
- NVD CVE-2017-8386
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.