git: Recursive submodule cloning allows using git directory twice with synonymous directory name written in .git/
Published Jan 24, 2020
8.8
HIGHCVSS 3.1
EPSS 34.01%
Description
A remote code execution vulnerability exists when Git for Visual Studio improperly sanitizes input, aka 'Git for Visual Studio Remote Code Execution Vulnerability'. This CVE ID is unique from CVE-2019-1350, CVE-2019-1352, CVE-2019-1354, CVE-2019-1387.
Affected products
-
- Version 15.0StatusaffectedConstraints-
- Version
- Vendor Microsoft Product Microsoft Visual Studio 2017 version 15.9 (includes 15.1 - 15.8) Defaultn/a
- Version unspecifiedStatusaffectedConstraints-
- Version
-
- Version 16.0StatusaffectedConstraints-
- Version
- Vendor Microsoft Product Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) Defaultn/a
- Version unspecifiedStatusaffectedConstraints-
- Version
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| Microsoft | Microsoft Visual Studio 2017 | n/a |
| ||||||
| Microsoft | Microsoft Visual Studio 2017 version 15.9 (includes 15.1 - 15.8) | n/a |
| ||||||
| Microsoft | Microsoft Visual Studio 2019 | n/a |
| ||||||
| Microsoft | Microsoft Visual Studio 2019 version 16.4 (includes 16.0 - 16.3) | n/a |
|
- ≥ 15.0 · < 15.9.18
- ≥ 16.0 · < 16.4.1
No data.
Red Hat Enterprise Linux 8
git-0:2.18.2-1.el8_1
Fixed · RHSA-2019:4356
Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions
git-0:2.18.2-1.el8_0
Fixed · RHSA-2020:0228
Red Hat Software Collections for Red Hat Enterprise Linux 7
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS
rh-git218-git-0:2.18.2-1.el7
Fixed · RHSA-2020:0002
Red Hat Enterprise Linux 6
git
Not affected
Red Hat Enterprise Linux 7
git
Will not fix
Red Hat Fuse 7
camel-git
Not affected
Red Hat JBoss Fuse 6
camel-git
Not affected
Red Hat OpenShift Container Platform 3.11
jenkins-2-plugins
Not affected
Red Hat OpenShift Container Platform 4
jenkins-2-plugins
Not affected
| Product | Package | State | Advisory |
|---|---|---|---|
| Red Hat Enterprise Linux 8 | git-0:2.18.2-1.el8_1 | Fixed | RHSA-2019:4356 |
| Red Hat Enterprise Linux 8.0 Update Services for SAP Solutions | git-0:2.18.2-1.el8_0 | Fixed | RHSA-2020:0228 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7 | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.5 EUS | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.6 EUS | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Software Collections for Red Hat Enterprise Linux 7.7 EUS | rh-git218-git-0:2.18.2-1.el7 | Fixed | RHSA-2020:0002 |
| Red Hat Enterprise Linux 6 | git | Not affected | n/a |
| Red Hat Enterprise Linux 7 | git | Will not fix | n/a |
| Red Hat Fuse 7 | camel-git | Not affected | n/a |
| Red Hat JBoss Fuse 6 | camel-git | Not affected | n/a |
| Red Hat OpenShift Container Platform 3.11 | jenkins-2-plugins | Not affected | n/a |
| Red Hat OpenShift Container Platform 4 | jenkins-2-plugins | Not affected | n/a |
No package ranges for this CVE.
Remediation
Red Hat mitigation
Avoid running `git clone --recurse-submodules` and `git submodule update` with untrusted repositories.
Metrics
No CVSS v4.0 score for this CVE.
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
CVSS:3.0/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
AV:N/AC:M/Au:N/C:C/I:C/A:C
This CVE is not in the KEV list.
No CISA SSVC assessment for this CVE yet.
Estimated probability of exploitation in the wild in the next 30 days (FIRST EPSS). As of Oct 2, 2026.
Score over time
2021–2026- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Percentile over time
- EPSS v1
- EPSS v2
- EPSS v3
- EPSS v4
- EPSS v5
Table of values (32 key points)
Flat stretches are collapsed; showing up to 120 newest points.
| Date | Score | Percentile | Model |
|---|---|---|---|
| Oct 2, 2026 | 34.01% (0.34007) | 98.36th | v5 (v2026.06.15) |
| Jun 15, 2026 | 34.01% (0.34007) | 98.18th | v5 (v2026.06.15) |
| May 26, 2026 | 19.69% (0.19687) | 95.52th | v4 (v2025.03.14) |
| Nov 21, 2025 | 28.00% (0.27999) | 96.27th | v4 (v2025.03.14) |
| Nov 18, 2025 | 19.06% (0.19063) | 94.90th | v4 (v2025.03.14) |
| Sep 13, 2025 | 27.49% (0.27489) | 96.25th | v4 (v2025.03.14) |
| Apr 27, 2025 | 20.10% (0.20102) | 95.11th | v4 (v2025.03.14) |
| Apr 18, 2025 | 24.12% (0.24116) | 95.70th | v4 (v2025.03.14) |
| Apr 17, 2025 | 32.81% (0.32814) | 96.57th | v4 (v2025.03.14) |
| Mar 30, 2025 | 39.13% (0.39133) | 96.98th | v4 (v2025.03.14) |
| Mar 29, 2025 | 62.30% (0.62298) | 97.66th | v4 (v2025.03.14) |
| Mar 17, 2025 | 39.13% (0.39133) | 96.94th | v4 (v2025.03.14) |
| Feb 21, 2025 | 26.70% (0.26696) | 96.83th | v3 (v2023.03.01) |
| Jan 2, 2025 | 20.48% (0.20483) | 96.38th | v3 (v2023.03.01) |
| Dec 17, 2024 | 15.57% (0.15566) | 95.87th | v3 (v2023.03.01) |
| Dec 12, 2024 | 8.13% (0.08132) | 94.60th | v3 (v2023.03.01) |
| Jun 6, 2024 | 7.74% (0.07740) | 94.19th | v3 (v2023.03.01) |
| Jan 17, 2024 | 6.42% (0.06417) | 92.99th | v3 (v2023.03.01) |
| Dec 31, 2023 | 7.65% (0.07646) | 93.50th | v3 (v2023.03.01) |
| Nov 28, 2023 | 6.78% (0.06775) | 93.14th | v3 (v2023.03.01) |
| Nov 13, 2023 | 6.48% (0.06477) | 92.96th | v3 (v2023.03.01) |
| Aug 3, 2023 | 6.21% (0.06207) | 92.59th | v3 (v2023.03.01) |
| Mar 7, 2023 | 4.48% (0.04483) | 91.16th | v3 (v2023.03.01) |
| Mar 6, 2023 | 37.29% (0.37288) | 97.91th | v2 (v2022.01.01) |
| Jan 2, 2023 | 37.29% (0.37288) | 97.87th | v2 (v2022.01.01) |
| Sep 17, 2022 | 35.25% (0.35248) | 97.75th | v2 (v2022.01.01) |
| Apr 1, 2022 | 33.38% (0.33378) | 97.52th | v2 (v2022.01.01) |
| Feb 4, 2022 | 77.39% (0.77390) | 99.30th | v2 (v2022.01.01) |
| Feb 3, 2022 | 62.66% (0.62658) | 99.32th | v1 |
| Jan 6, 2022 | 62.66% (0.62658) | 99.31th | v1 |
| Sep 1, 2021 | 27.22% (0.27219) | 98.34th | v1 |
| Apr 14, 2021 | 27.22% (0.27219) | 0.00th | v1 |
References (11)
- http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html vendor-advisoryx_refsource_SUSE
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html vendor-advisoryx_refsource_SUSE
- https://access.redhat.com/errata/RHSA-2020:0228 vendor-advisoryx_refsource_REDHAT
- https://access.redhat.com/security/cve/CVE-2019-1349 Vendor Advisory
- https://bugzilla.redhat.com/show_bug.cgi?id=1781143 Issue Tracking
- https://github.com/git/git/security/advisories/GHSA-4qvh-qvv7-frc7
- https://nvd.nist.gov/vuln/detail/CVE-2019-1349
- https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1349 x_refsource_MISCPatchVendor Advisory
- https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/ x_refsource_MISC
- https://security.gentoo.org/glsa/202003-30 vendor-advisoryx_refsource_GENTOO
- https://www.cve.org/CVERecord?id=CVE-2019-1349
| Link | Providers | Tags |
|---|---|---|
| http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html | vendor-advisoryx_refsource_SUSE | |
| http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html | vendor-advisoryx_refsource_SUSE | |
| https://access.redhat.com/errata/RHSA-2020:0228 | vendor-advisoryx_refsource_REDHAT | |
| https://access.redhat.com/security/cve/CVE-2019-1349 | Vendor Advisory | |
| https://bugzilla.redhat.com/show_bug.cgi?id=1781143 | Issue Tracking | |
| https://github.com/git/git/security/advisories/GHSA-4qvh-qvv7-frc7 | ||
| https://nvd.nist.gov/vuln/detail/CVE-2019-1349 | ||
| https://portal.msrc.microsoft.com/en-US/security-guidance/advisory/CVE-2019-1349 | x_refsource_MISCPatchVendor Advisory | |
| https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/ | x_refsource_MISC | |
| https://security.gentoo.org/glsa/202003-30 | vendor-advisoryx_refsource_GENTOO | |
| https://www.cve.org/CVERecord?id=CVE-2019-1349 |
Change history (0)
No recorded changes yet.