CVEfocus › CVE database › CVE-2017-8386

CVE-2017-8386

CVSS 8.8 HighEPSS 12.4% (higher than 96% of CVEs)Published 2017-06-01Updated 2024-08-05Assigner: mitre

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.

What to do

Likely to be exploited: EPSS gives a 12% chance of exploitation in the next 30 days. Treat it as urgent if you run an affected version.

Fixed builds are available from Alpine, Debian, Red Hat, Ubuntu: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

22Fixed
12Will not fix

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04gitFixed1:2.7.4-0ubuntu1.1UBUNTU-CVE-2017-8386
Ubuntu 14.04gitFixed1:1.9.1-1ubuntu0.5UBUNTU-CVE-2017-8386
Debian 14gitFixed1:2.11.0-3DEBIAN-CVE-2017-8386
Debian 13gitFixed1:2.11.0-3DEBIAN-CVE-2017-8386
Debian 12gitFixed1:2.11.0-3DEBIAN-CVE-2017-8386
Red Hat Enterprise Linux 7emacs-gitFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7emacs-git-elFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7gitFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-allFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-bzrFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-cvsFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-daemonFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-emailFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-guiFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-hgFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-p4Fixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7git-svnFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7gitkFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7gitwebFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7perl-GitFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 7perl-Git-SVNFixed0:1.8.3.1-11.el7RHSA-2017:2004
Red Hat Enterprise Linux 6emacs-gitWill not fix
Will not fix
Red Hat Enterprise Linux 6emacs-git-elWill not fix
Will not fix
Red Hat Enterprise Linux 6gitWill not fix
Will not fix
Red Hat Enterprise Linux 6git-allWill not fix
Will not fix
Red Hat Enterprise Linux 6git-cvsWill not fix
Will not fix
Red Hat Enterprise Linux 6git-daemonWill not fix
Will not fix
Red Hat Enterprise Linux 6git-emailWill not fix
Will not fix
Red Hat Enterprise Linux 6git-guiWill not fix
Will not fix
Red Hat Enterprise Linux 6git-svnWill not fix
Will not fix
Red Hat Enterprise Linux 6gitkWill not fix
Will not fix
Red Hat Enterprise Linux 6gitwebWill not fix
Will not fix
Red Hat Enterprise Linux 6perl-GitWill not fix
Will not fix
Alpine Linux 3.3gitFixed2.6.7-r0ALPINE-CVE-2017-8386

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.