Vulnerabilities · 2017 · Git
CVE-2017-8386
Git-shell vulnerability
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.
Affected products
Git-shell, Leap, Debian Linux, Ubuntu Linux, Fedora. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Git-shell runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- insinuator.net/2017/05/git-shell-bypass-by-abusing-less-cve-2017-8386/ · Mitigation
- lists.opensuse.org/opensuse-updates/2017-05/msg00090.html · Third Party Advisory
- www.debian.org/security/2017/dsa-3848 · Third Party Advisory
- www.securityfocus.com/bid/98409 · Third Party Advisory
- www.securitytracker.com/id/1038479 · Third Party Advisory
- www.ubuntu.com/usn/USN-3287-1 · Exploit
- kernel.googlesource.com/pub/scm/git/git/+/3ec804490a265f4c418a321428c12f3f18b7eff5 · Third Party Advisory
- public-inbox.org/git/xmqq8tm5ziat.fsf%40gitster.mtv.corp.google.com/
- nvd.nist.gov/vuln/detail/CVE-2017-8386
- cve.org/CVERecord?id=CVE-2017-8386
More vulnerabilities in Git products
CVE-2024-52006CVE-2024-52005CVE-2024-50349CVE-2024-32002CVE-2022-25648CVE-2020-5260CVE-2010-3906CVE-2009-2108All 14
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.