CVSS 3.1
7.5 highCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NHigh (7.5). EPSS 3.9% estimated probability of exploitation activity in the next 30 days.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExplain CVE-2020-11008 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-11008?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-11008?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-11008 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.
From the NVD's CPE matches.
| Product | Affected |
|---|---|
| git-scm:git | before 2.17.5 |
| git-scm:git | from 2.18.0 before 2.18.4 |
| git-scm:git | from 2.19.0 before 2.19.5 |
| git-scm:git | from 2.20.0 before 2.20.4 |
| git-scm:git | from 2.21.0 before 2.21.3 |
| git-scm:git | from 2.22.0 before 2.22.4 |
| git-scm:git | from 2.23.0 before 2.23.3 |
| git-scm:git | from 2.24.0 before 2.24.3 |
| git-scm:git | from 2.25.0 before 2.25.4 |
| git-scm:git | from 2.26.0 before 2.26.2 |
| canonical:ubuntu_linux | 16.04 |
| canonical:ubuntu_linux | 18.04 |
| canonical:ubuntu_linux | 19.10 |
| debian:debian_linux | 8.0 |
| fedoraproject:fedora | 31 |
| fedoraproject:fedora | 32 |
| Distribution | Release | Package | Fixed in | Advisory |
|---|---|---|---|---|
| Debian | 8 | git | 1:2.1.4-2.1+deb8u10 | DLA-2182-1 |
| Debian | 9 | git | 1:2.11.0-3+deb9u7 | DSA-4659-1 |
| Debian | 10 | git | 1:2.20.1-2+deb10u3 | DSA-4659-1 |
| Debian | 12, 13, 14 | git | 1:2.26.2-1 | DEBIAN-CVE-2020-11008 |
| Ubuntu | 16.04:LTS | git | 1:2.7.4-0ubuntu1.9 | UBUNTU-CVE-2020-11008 USN-4334-1 |
| Ubuntu | 18.04:LTS | git | 1:2.17.1-1ubuntu0.7 | UBUNTU-CVE-2020-11008 USN-4334-1 |
| Red Hat | enterprise_linux:7::client, enterprise_linux:7::computenode, enterprise_linux:7::server and 1 more | git, gitk, git-hg and 16 more | 0:1.8.3.1-23.el7_8 | RHSA-2020:2337 |
| Red Hat | enterprise_linux:8::appstream | git, gitk, gitweb and 16 more | 0:2.18.4-2.el8_2 | RHSA-2020:1980 |
| Red Hat | rhel_e4s:8.0::appstream | git, gitk, gitweb and 16 more | 0:2.18.4-1.el8_0 | RHSA-2020:1978 |
| Red Hat | rhel_eus:7.7::computenode, rhel_eus:7.7::server | git, gitk, git-hg and 16 more | 0:1.8.3.1-23.el7_7 | RHSA-2020:3581 |
| Red Hat | rhel_eus:8.1::appstream | git, gitk, gitweb and 16 more | 0:2.18.4-1.el8_1 | RHSA-2020:1979 |
| Red Hat | rhel_software_collections:3::el7 | rh-git218-git, rh-git218-gitk, rh-git218-git-p4 and 14 more | 0:2.18.4-1.el7 | RHSA-2020:1975 |
| SUSE | Enterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP1-LTSS and 16 more | git | 2.26.2-27.36.1 | SUSE-SU-2020:1295-1 |
| SUSE | Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Development Tools 15 SP1 | git | 2.26.1-3.25.2 | SUSE-SU-2020:1121-1 |
| openSUSE | Leap 15.1 | git | 2.26.1-lp151.4.9.1 | openSUSE-SU-2020:0598-1 |
| openSUSE | Tumbleweed | git | 2.33.0-1.3 | openSUSE-SU-2024:10786-1 |
| Alpine | v3.8 | git | 2.18.4-r0 | ALPINE-CVE-2020-11008 |
| Alpine | v3.9 | git | 2.20.4-r0 | ALPINE-CVE-2020-11008 |
| Alpine | v3.10 | git | 2.22.4-r0 | ALPINE-CVE-2020-11008 |
| Alpine | v3.11 | git | 2.24.3-r0 | ALPINE-CVE-2020-11008 |
| Alpine | v3.12, v3.13, v3.14 and 10 more | git | 2.26.2-r0 | ALPINE-CVE-2020-11008 |
From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; Red Hat Security Data © Red Hat, Inc., CC BY 4.0; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · Red Hat · SUSE · openSUSE · Alpine.
Red Hat rates this Important.
Red Hat Enterprise Linux 6 is not affected by this flaw as the vulnerable version of git, version 1.7.9-rc0 and later, was never made available for this product.
The most complete workaround is to disable credential helpers altogether:
~~~
git config --unset credential.helper
git config --global --unset credential.helper
git config --system --unset credential.helper
~~~
An alternative is to avoid malicious URLs:
1. Examine the hostname and username portion of URLs fed to git clone or git fetch for the presence of encoded newlines (%0A) or syntactic oddities (e.g., http:///host with three slashes).
2. Avoid using submodules with untrusted repositories (don't use git clone --recurse-submodules; use git submodule update only after examining the URLs found in .gitmodules).
3. Avoid tools which may run git clone on untrusted URLs under the hood.
4. Avoid using the credential helper by only cloning publicly available repositories.
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 7 | git-0:1.8.3.1-23.el7_8 | Fixed 2020-05-28 | RHSA-2020:2337 |
| Red Hat Enterprise Linux 7.7 Extended Update Support | git-0:1.8.3.1-23.el7_7 | Fixed 2020-08-31 | RHSA-2020:3581 |
| Red Hat Enterprise Linux 8 | git-0:2.18.4-2.el8_2 | Fixed 2020-04-30 | RHSA-2020:1980 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | git-0:2.18.4-1.el8_0 | Fixed 2020-04-30 | RHSA-2020:1978 |
| Red Hat Enterprise Linux 8.1 Extended Update Support | git-0:2.18.4-1.el8_1 | Fixed 2020-04-30 | RHSA-2020:1979 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-git218-git-0:2.18.4-1.el7 | Fixed 2020-04-29 | RHSA-2020:1975 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-git218-git-0:2.18.4-1.el7 | Fixed 2020-04-29 | RHSA-2020:1975 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-git218-git-0:2.18.4-1.el7 | Fixed 2020-04-29 | RHSA-2020:1975 |
| Red Hat Enterprise Linux 6 | git | Not affected |
Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2020-11008.
The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-522 (13), CWE-20 (51).