CVE-2020-11008 json
Malicious URLs can still cause Git to send a stored credential to the wrong server
published 6y ago modified 4mo ago also EUVD-2020-3400
- cvss
- 4.0
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 3.9%
- EPSS 3.9% chance of exploitation in 30 days, percentile 90%
- public exploits
- 0
- none known
Summary
Affected versions of Git have a vulnerability whereby Git can be tricked into sending private credentials to a host controlled by an attacker. This bug is similar to CVE-2020-5260(GHSA-qm7j-c969-7j4q). The fix for that bug still left the door open for an exploit where _some_ credential is leaked (but the attacker cannot control which one). Git uses external "credential helper" programs to store and retrieve passwords or other credentials from secure storage provided by the operating system. Specially-crafted URLs that are considered illegal as of the recently published Git versions can cause Git to send a "blank" pattern to helpers, missing hostname and protocol fields. Many helpers will interpret this as matching _any_ URL, and will return some unspecified stored password, leaking the password to an attacker's server. The vulnerability can be triggered by feeding a malicious URL to `git clone`. However, the affected URLs look rather suspicious; the likely vector would be through systems which automatically clone URLs not visible to the user, such as Git submodules, or package systems built around Git. The root of the problem is in Git itself, which should not be feeding blank input to helpers. However, the ability to exploit the vulnerability in practice depends on which helpers are in use. Credential helpers which are known to trigger the vulnerability: - Git's "store" helper - Git's "cache" helper - the "osxkeychain" helper that ships in Git's "contrib" directory Credential helpers which are known to be safe even with vulnerable versions of Git: - Git Credential Manager for Windows Any helper not in this list should be assumed to trigger the vulnerability.
Patch / fix
- git-scm git 2.17.5, 2.18.4, 2.19.5, 2.20.4, 2.21.3, 2.22.4, 2.23.3, 2.24.3, 2.25.4, 2.26.2
- git Debian 14, Debian 13, Debian 12 1:2.26.2-1
debian advisories DEBIAN-CVE-2020-11008
- git Ubuntu 16.04 LTS 1:2.7.4-0ubuntu1.9
- git Ubuntu 18.04 LTS 1:2.17.1-1ubuntu0.7
ubuntu advisories UBUNTU-CVE-2020-11008
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-23.el7_8
- gitk RHEL 7 1.8.3.1-23.el7_8
- git-hg RHEL 7 1.8.3.1-23.el7_8
- git-p4 RHEL 7 1.8.3.1-23.el7_8
- gitweb RHEL 7 1.8.3.1-23.el7_8
- git-all RHEL 7 1.8.3.1-23.el7_8
- git-bzr RHEL 7 1.8.3.1-23.el7_8
- git-cvs RHEL 7 1.8.3.1-23.el7_8
red hat advisories RHSA-2020:3581RHSA-2020:2337RHSA-2020:1980RHSA-2020:1978RHSA-2020:1979RHSA-2020:1975
- git SLES for SAP 12 SP5, SLES for SAP 12 SP4, SLES for SAP 12 SP3 +16 more 2.26.2-27.36.1
- git SLE Module for Development Tools 15 SP1, SLE Module for Basesystem 15 SP1 2.26.1-3.25.2
suse advisories SUSE-SU-2020:1295-1SUSE-SU-2020:1121-1
- git openSUSE Tumbleweed 2.33.0-1.3
- git openSUSE Leap 15.1 2.26.1-lp151.4.9.1
opensuse advisories openSUSE-SU-2024:10786-1openSUSE-SU-2020:0598-1
- git Alpine 3.10 2.22.4-r0
- git Alpine 3.11 2.24.3-r0
- git Alpine 3.24, Alpine 3.23, Alpine 3.22 +10 more 2.26.2-r0
- git Alpine 3.8 2.18.4-r0
- git Alpine 3.9 2.20.4-r0
alpine advisories ALPINE-CVE-2020-11008
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.26.2-1
arch linux advisories AVG-1138
Is CVE-2020-11008 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerVendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2020-11008 updated cvss 7.5
git: Crafted URL containing new lines, empty host or lacks a scheme can cause credential leak
-
Red Hat Enterprise Linux AppStream (v. 8) git 2.18.4-2.el8_2, gitk 2.18.4-2.el8_2, gitweb 2.18.4-2.el8_2, git-all 2.18.4-2.el8_2, git-gui 2.18.4-2.el8_2, git-svn 2.18.4-2.el8_2, +7 morefixed: vendor fix RHSA-2020:1980
-
Red Hat Enterprise Linux AppStream E4S (v. 8.0) git 2.18.4-1.el8_0, gitk 2.18.4-1.el8_0, gitweb 2.18.4-1.el8_0, git-all 2.18.4-1.el8_0, git-gui 2.18.4-1.el8_0, git-svn 2.18.4-1.el8_0, +7 morefixed: vendor fix RHSA-2020:1978
-
Red Hat Enterprise Linux AppStream EUS (v. 8.1) git 2.18.4-1.el8_1, gitk 2.18.4-1.el8_1, gitweb 2.18.4-1.el8_1, git-all 2.18.4-1.el8_1, git-gui 2.18.4-1.el8_1, git-svn 2.18.4-1.el8_1, +7 morefixed: vendor fix RHSA-2020:1979
-
Red Hat Enterprise Linux Client Optional (v. 7) git 1.8.3.1-23.el7_8, gitk 1.8.3.1-23.el7_8, git-hg 1.8.3.1-23.el7_8, git-p4 1.8.3.1-23.el7_8, gitweb 1.8.3.1-23.el7_8, git-all 1.8.3.1-23.el7_8, +12 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) git 1.8.3.1-23.el7_8, gitk 1.8.3.1-23.el7_8, git-hg 1.8.3.1-23.el7_8, git-p4 1.8.3.1-23.el7_8, gitweb 1.8.3.1-23.el7_8, git-all 1.8.3.1-23.el7_8, +12 morefixed: vendor fix RHSA-2020:2337
-
Red Hat Enterprise Linux ComputeNode Optional EUS (v. 7.7) git 1.8.3.1-23.el7_7, gitk 1.8.3.1-23.el7_7, git-hg 1.8.3.1-23.el7_7, git-p4 1.8.3.1-23.el7_7, gitweb 1.8.3.1-23.el7_7, git-all 1.8.3.1-23.el7_7, +12 morefixed: vendor fix RHSA-2020:3581
-
Red Hat Enterprise Linux Server (v. 7) git 1.8.3.1-23.el7_8, perl-Git 1.8.3.1-23.el7_8fixed: vendor fix RHSA-2020:2337
-
Red Hat Enterprise Linux Server EUS (v. 7.7) git 1.8.3.1-23.el7_7, perl-Git 1.8.3.1-23.el7_7fixed: vendor fix RHSA-2020:3581
-
Red Hat Enterprise Linux Server Optional (v. 7) gitk 1.8.3.1-23.el7_8, git-hg 1.8.3.1-23.el7_8, git-p4 1.8.3.1-23.el7_8, gitweb 1.8.3.1-23.el7_8, git-all 1.8.3.1-23.el7_8, git-bzr 1.8.3.1-23.el7_8, +10 morefixed: vendor fix RHSA-2020:2337
show 4 moreshow fewer
-
Red Hat Enterprise Linux Server Optional EUS (v. 7.7) gitk 1.8.3.1-23.el7_7, git-hg 1.8.3.1-23.el7_7, git-p4 1.8.3.1-23.el7_7, gitweb 1.8.3.1-23.el7_7, git-all 1.8.3.1-23.el7_7, git-bzr 1.8.3.1-23.el7_7, +10 morefixed: vendor fix RHSA-2020:3581
-
Red Hat Enterprise Linux Workstation (v. 7) git 1.8.3.1-23.el7_8, perl-Git 1.8.3.1-23.el7_8 Red Hat Enterprise Linux Workstation Optional (v. 7) gitk 1.8.3.1-23.el7_8, git-hg 1.8.3.1-23.el7_8, git-p4 1.8.3.1-23.el7_8, gitweb 1.8.3.1-23.el7_8, git-all 1.8.3.1-23.el7_8, git-bzr 1.8.3.1-23.el7_8, +10 morefixed: vendor fix RHSA-2020:2337
-
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git218-git 2.18.4-1.el7, rh-git218-gitk 2.18.4-1.el7, rh-git218-git-p4 2.18.4-1.el7, rh-git218-gitweb 2.18.4-1.el7, rh-git218-git-all 2.18.4-1.el7, rh-git218-git-cvs 2.18.4-1.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.6) rh-git218-git 2.18.4-1.el7, rh-git218-gitk 2.18.4-1.el7, rh-git218-git-p4 2.18.4-1.el7, rh-git218-gitweb 2.18.4-1.el7, rh-git218-git-all 2.18.4-1.el7, rh-git218-git-cvs 2.18.4-1.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-git218-git 2.18.4-1.el7, rh-git218-gitk 2.18.4-1.el7, rh-git218-git-p4 2.18.4-1.el7, rh-git218-gitweb 2.18.4-1.el7, rh-git218-git-all 2.18.4-1.el7, rh-git218-git-cvs 2.18.4-1.el7, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git218-git 2.18.4-1.el7, rh-git218-gitk 2.18.4-1.el7, rh-git218-git-p4 2.18.4-1.el7, rh-git218-gitweb 2.18.4-1.el7, rh-git218-git-all 2.18.4-1.el7, rh-git218-git-cvs 2.18.4-1.el7, +9 morefixed: vendor fix RHSA-2020:1975
-
Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 morenot affected: vulnerable code not present
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
3.87% chance of exploitation in the next 30 days, higher than 90% of all scored CVEs (FIRST EPSS, 2026-11-09).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 4.0 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N |
| NVD | 3.1 | 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 5.0 | AV:N/AC:L/Au:N/C:P/I:N/A:N |
Affected products
- git git
Classification
References
-
github.com
/git/git/commit/c44088ecc4b0722636e0a305f9608d3047197282
patch, third-party-advisory
-
github.com
/git/git/security/advisories/GHSA-hjc9-x69f-jqj7
patch, third-party-advisory
-
github.com
/git/git/security/advisories/GHSA-qm7j-c969-7j4q
mitigation, patch, third-party-advisory
-
security.gentoo.org
/glsa/202004-13
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/PN3FUOXKX3AXTULYV53ACABER2W2FSOU/
vendor-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/MOCTR2SEHCPSCOVUQJAGFPGKFMI2VE6V/
vendor-advisory
-
usn.ubuntu.com
/4334-1/
vendor-advisory, third-party-advisory
-
lists.fedoraproject.org
/archives/list/package-announce%40lists.fedoraproject.org/message/74Q7WVJ6FKLIN62VS2JD2XCNWK5TNKOW/
vendor-advisory
-
lists.opensuse.org
/opensuse-security-announce/2020-05/msg00003.html
vendor-advisory
-
lists.debian.org
/debian-lts-announce/2020/04/msg00015.html
mailing-list, third-party-advisory
- support.apple.com /kb/HT211183
-
seclists.org
/fulldisclosure/2020/May/41
mailing-list
Sources
- CVE List CVE-2020-11008
- NVD CVE-2020-11008
Fencer Intel 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.