Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2…
Priority CRITICAL 87CWE-88Published · Updated
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 22 fixed, 3 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat. Impact type from CWE-88.
Summary
Git before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.
Why it matters now
EPSS 0.97356 99th percentileScored 2026-11-07
Public exploit Yes 2 exploit referencesTagged by the CNA and NVD
Fix Partial Red Hat: 3 advisoriesRed Hat: 22 fixed, 3 without a fix
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
CPE configurations NVD · 19
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | 2.14.0 to before 2.14.5; 2.15.0 to before 2.15.3; 2.16.0 to before 2.16.5; 2.17.0 to before 2.17.2; 2.18.0 to before 2.18.1; 2.19.0 to before 2.19.1 | Vulnerable | Git-scm |
| cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* | 3.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* | 6.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:* | 6.7 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:* | 7.3 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* | 7.4 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* Versions 2.14.0 to before 2.14.5; 2.15.0 to before 2.15.3; 2.16.0 to before 2.16.5; 2.17.0 to before 2.17.2; 2.18.0 to before 2.18.1; 2.19.0 to before 2.19.1 Vulnerable ·Git-scm
- cpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* Versions 3.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* Versions 6.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:* Versions 6.7 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:* Versions 7.3 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* Versions 7.4 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
Show 9 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* | 7.6 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* | 14.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* | 16.04 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* Versions 7.6 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* Versions 14.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* Versions 16.04 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
Remediation
Red Hat 3 advisories
- RHSA-2020:0316 Released 2020-02-03 · Red Hat rating Importantgit security update
- Red Hat Enterprise Linux Desktop Optional (v. 6) emacs-git-1.7.1-10.el6_10, emacs-git-el-1.7.1-10.el6_10, git-1.7.1-10.el6_10 +9
- Red Hat Enterprise Linux HPC Node Optional (v. 6) emacs-git-1.7.1-10.el6_10, emacs-git-el-1.7.1-10.el6_10, git-1.7.1-10.el6_10 +9
- Red Hat Enterprise Linux Server (v. 6) git-1.7.1-10.el6_10, perl-Git-1.7.1-10.el6_10
- Red Hat Enterprise Linux Server Optional (v. 6) emacs-git-1.7.1-10.el6_10, emacs-git-el-1.7.1-10.el6_10, git-all-1.7.1-10.el6_10 +7
- Red Hat Enterprise Linux Workstation (v. 6) git-1.7.1-10.el6_10, perl-Git-1.7.1-10.el6_10
- Red Hat Enterprise Linux Workstation Optional (v. 6) emacs-git-1.7.1-10.el6_10, emacs-git-el-1.7.1-10.el6_10, git-all-1.7.1-10.el6_10 +7
- RHSA-2018:3541 Released 2018-11-13 · Red Hat rating Importantrh-git29-git security update
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-git29-emacs-git-2.9.3-7.el6, rh-git29-emacs-git-el-2.9.3-7.el6, rh-git29-git-2.9.3-7.el6 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git29-git-2.9.3-8.el7, rh-git29-git-all-2.9.3-8.el7, rh-git29-git-core-2.9.3-8.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-git29-emacs-git-2.9.3-7.el6, rh-git29-emacs-git-el-2.9.3-7.el6, rh-git29-git-2.9.3-7.el6 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-git29-git-2.9.3-8.el7, rh-git29-git-all-2.9.3-8.el7, rh-git29-git-core-2.9.3-8.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-git29-git-2.9.3-6.el7, rh-git29-git-all-2.9.3-6.el7, rh-git29-git-core-2.9.3-6.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-git29-git-2.9.3-6.el7, rh-git29-git-2.9.3-8.el7, rh-git29-git-all-2.9.3-6.el7 +25
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-git29-emacs-git-2.9.3-7.el6, rh-git29-emacs-git-el-2.9.3-7.el6, rh-git29-git-2.9.3-7.el6 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git29-git-2.9.3-8.el7, rh-git29-git-all-2.9.3-8.el7, rh-git29-git-core-2.9.3-8.el7 +11
- RHSA-2018:3408 Released 2018-10-30 · Red Hat rating Importantgit security update
- Red Hat Enterprise Linux Client Optional (v. 7) emacs-git-1.8.3.1-20.el7, emacs-git-el-1.8.3.1-20.el7, git-1.8.3.1-20.el7 +15
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) emacs-git-1.8.3.1-20.el7, emacs-git-el-1.8.3.1-20.el7, git-1.8.3.1-20.el7 +15
- Red Hat Enterprise Linux Server (v. 7) git-1.8.3.1-20.el7, perl-Git-1.8.3.1-20.el7
- Red Hat Enterprise Linux Server Optional (v. 7) emacs-git-1.8.3.1-20.el7, emacs-git-el-1.8.3.1-20.el7, git-all-1.8.3.1-20.el7 +13
- Red Hat Enterprise Linux Workstation (v. 7) git-1.8.3.1-20.el7, perl-Git-1.8.3.1-20.el7
- Red Hat Enterprise Linux Workstation Optional (v. 7) emacs-git-1.8.3.1-20.el7, emacs-git-el-1.8.3.1-20.el7, git-all-1.8.3.1-20.el7 +13
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) git-1.8.3.1-20.el7, perl-Git-1.8.3.1-20.el7
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) emacs-git-1.8.3.1-20.el7, emacs-git-el-1.8.3.1-20.el7, git-all-1.8.3.1-20.el7 +13
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| Red Hat Fuse 7 | Affected | No fix yet |
| Red Hat JBoss Fuse 6 | Affected | No fix yet |
| Red Hat JBoss Fuse Integration Service 2 | Affected | No fix yet |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Enterprise Linux Desktop Optional (v. 6) | Fixed | RHSA-2020:0316 |
| Red Hat Enterprise Linux HPC Node Optional (v. 6) | Fixed | RHSA-2020:0316 |
| Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2020:0316 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Enterprise Linux Server Optional (v. 6) | Fixed | RHSA-2020:0316 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2020:0316 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Enterprise Linux Workstation Optional (v. 6) | Fixed | RHSA-2020:0316 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:3408 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:3541 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:3541 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2018:3541 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Fixed | RHSA-2018:3541 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:3541 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:3541 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:3541 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:3541 |
Not affected: 3 products
- Red Hat Enterprise Linux 8
- Red Hat Mobile Application Platform 4
- Red Hat Software Collections
Timeline
- 2026-10-02 Threatist record created from CVE-2018-17456
- 2026-10-03 Alias added: GHSA-g986-jp62-5xq6
References
Patch 2
Advisory 11
- DSA-4311
- RHSA-2018:3505
- RHSA-2018:3541
- RHSA-2018:3408
- https://marc.info/?l=git&m=153875888916397&w=2
- https://www.openwall.com/lists/oss-security/2018/10/06/3
- USN-3791-1
- 20190320 March 2019 Sourcetree Advisory - Multiple Remote Code Execution Vulnerabilities
- http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html
- RHSA-2020:0316
- openSUSE-SU-2020:0598
Sources
- CVE-2018-17456 · CVE Program
- CVE-2018-17456 · NVD
- FIRST EPSS
- GHSA-g986-jp62-5xq6 · GitHub Advisory Database · CC BY 4.0
- CVE-2018-17456 · Red Hat security data · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences