CVE-2017-8386
HIGH 8.8CVSS 3.0git-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.
- Published
- 1 Jun 2017
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | HIGH 8.8 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | git | git-shellcpe:2.3:a:git:git-shell:-:*:*:*:*:*:*:* |
(no version) | |
| NVD | opensuse | leapcpe:2.3:o:opensuse:leap:42.1:*:*:*:*:*:*:* |
= 42.1 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* |
= 8.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.10:*:*:*:*:*:*:* |
= 16.10 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:17.04:*:*:*:*:*:*:* |
= 17.04 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:24:*:*:*:*:*:*:* |
= 24 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:25:*:*:*:*:*:*:* |
= 25 | |
| NVD | fedoraproject | fedoracpe:2.3:o:fedoraproject:fedora:26:*:*:*:*:*:*:* |
= 26 |
References
- http://lists.opensuse.org/opensuse-updates/2017-05/msg00090.html · Mailing List, Third Party Advisory
- http://public-inbox.org/git/xmqq8tm5ziat.fsf%40gitster.mtv.corp.google.com/
- http://www.debian.org/security/2017/dsa-3848 · Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/98409 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1038479 · Third Party Advisory
- http://www.ubuntu.com/usn/USN-3287-1 · Exploit, Third Party Advisory
- https://access.redhat.com/errata/RHSA-2017:2004
- https://access.redhat.com/errata/RHSA-2017:2491
- https://insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/ · Mitigation, Third Party Advisory
- https://kernel.googlesource.com/pub/scm/git/git/+/3ec804490a265f4c418a321428c12f3f18b7eff5 · Third Party Advisory
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/3ISHYFLM2ACYHHY3JHCLF75X7UF4ZMDM/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/DPYRN7APMHY4ZFDPAKD22J5R4QJFY2JP/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/FDS3LSJJ3YGGQYIVPKQDVOCXWDSF6JGF/
- https://security.gentoo.org/glsa/201706-04
History
- 25 Nov 2026 20:20 UTC · NVD: first stored (published 1 Jun 2017)