In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4…
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Partial Red Hat: 16 fixed, 7 without a fix
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and Red Hat.
Summary
In Git before 2.13.7, 2.14.x before 2.14.4, 2.15.x before 2.15.2, 2.16.x before 2.16.4, and 2.17.x before 2.17.1, remote code execution can occur. With a crafted .gitmodules file, a malicious project can execute an arbitrary script on a machine that runs "git clone --recurse-submodules" because submodule "names" are obtained from this file, and then appended to $GIT_DIR/modules, leading to directory traversal with "../" in a name. Finally, post-checkout hooks from a submodule are executed, bypassing the intended design in which hooks are not obtained from a remote server.
Why it matters now
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 · 14
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* | 8.0 | Vulnerable | Debian |
| cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* | 9.0 | Vulnerable | Debian |
| 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:17.10:*:*:*:*:*:*:* | 17.10 | Vulnerable | Canonical |
| cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* | 18.04 | Vulnerable | Canonical |
| cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* | 7.5 | Vulnerable | Red Hat |
- cpe:2.3:o:debian:debian_linux:8.0:*:*:*:*:*:*:* Versions 8.0 Vulnerable ·Debian
- cpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* Versions 9.0 Vulnerable ·Debian
- 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:17.10:*:*:*:*:*:*:* Versions 17.10 Vulnerable ·Canonical
- cpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* Versions 18.04 Vulnerable ·Canonical
- cpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:o:redhat:enterprise_linux_server_eus:7.5:*:*:*:*:*:*:* Versions 7.5 Vulnerable ·Red Hat
Show 4 more CPE
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* | 7.0 | Vulnerable | Red Hat |
| cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* | up to 2.13.6; 2.14.0 – 2.14.3; 2.15.0 – 2.15.1; 2.16.0 – 2.16.3 | Vulnerable | Git-scm |
| cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:* | 2.17.0 | Vulnerable | Git-scm |
| cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:* | up to 2.17.1 | Vulnerable | git-for-windows |
- cpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* Versions 7.0 Vulnerable ·Red Hat
- cpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* Versions up to 2.13.6; 2.14.0 – 2.14.3; 2.15.0 – 2.15.1; 2.16.0 – 2.16.3 Vulnerable ·Git-scm
- cpe:2.3:a:git-scm:git:2.17.0:*:*:*:*:*:*:* Versions 2.17.0 Vulnerable ·Git-scm
- cpe:2.3:a:gitforwindows:git:*:*:*:*:*:*:*:* Versions up to 2.17.1 Vulnerable ·git-for-windows
Remediation
Red Hat 2 advisories
- RHSA-2018:2147 Released 2018-07-10 · 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-4.el6, rh-git29-emacs-git-el-2.9.3-4.el6, rh-git29-git-2.9.3-4.el6 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git29-git-2.9.3-4.el7, rh-git29-git-all-2.9.3-4.el7, rh-git29-git-core-2.9.3-4.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-git29-emacs-git-2.9.3-4.el6, rh-git29-emacs-git-el-2.9.3-4.el6, rh-git29-git-2.9.3-4.el6 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-git29-git-2.9.3-4.el7, rh-git29-git-all-2.9.3-4.el7, rh-git29-git-core-2.9.3-4.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-git29-git-2.9.3-4.el7, rh-git29-git-all-2.9.3-4.el7, rh-git29-git-core-2.9.3-4.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-git29-git-2.9.3-4.el7, rh-git29-git-all-2.9.3-4.el7, rh-git29-git-core-2.9.3-4.el7 +11
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-git29-emacs-git-2.9.3-4.el6, rh-git29-emacs-git-el-2.9.3-4.el6, rh-git29-git-2.9.3-4.el6 +13
- Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git29-git-2.9.3-4.el7, rh-git29-git-all-2.9.3-4.el7, rh-git29-git-core-2.9.3-4.el7 +11
- RHSA-2018:1957 Released 2018-06-21 · Red Hat rating Importantgit security update
- Red Hat Enterprise Linux Client Optional (v. 7) emacs-git-1.8.3.1-14.el7_5, emacs-git-el-1.8.3.1-14.el7_5, git-1.8.3.1-14.el7_5 +13
- Red Hat Enterprise Linux ComputeNode Optional (v. 7) emacs-git-1.8.3.1-14.el7_5, emacs-git-el-1.8.3.1-14.el7_5, git-1.8.3.1-14.el7_5 +13
- Red Hat Enterprise Linux Server (v. 7) git-1.8.3.1-14.el7_5, perl-Git-1.8.3.1-14.el7_5
- Red Hat Enterprise Linux Server Optional (v. 7) emacs-git-1.8.3.1-14.el7_5, emacs-git-el-1.8.3.1-14.el7_5, git-all-1.8.3.1-14.el7_5 +11
- Red Hat Enterprise Linux Workstation (v. 7) git-1.8.3.1-14.el7_5, perl-Git-1.8.3.1-14.el7_5
- Red Hat Enterprise Linux Workstation Optional (v. 7) emacs-git-1.8.3.1-14.el7_5, emacs-git-el-1.8.3.1-14.el7_5, git-all-1.8.3.1-14.el7_5 +11
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) git-1.8.3.1-14.el7_5, perl-Git-1.8.3.1-14.el7_5
- Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) emacs-git-1.8.3.1-14.el7_5, emacs-git-el-1.8.3.1-14.el7_5, git-all-1.8.3.1-14.el7_5 +11
Vendor assessments
Red Hat
Red Hat rating: Important. Red Hat's page for this CVE →
| Product | Status | Plan or fix |
|---|---|---|
| JBoss Developer Studio 11 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.2 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.3 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.4 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Container Platform 3.5 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Enterprise 3.0 | Affected | No fix planned: Will not fix |
| Red Hat OpenShift Enterprise 3.1 | Affected | No fix planned: Will not fix |
| Red Hat Enterprise Linux Client Optional (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Enterprise Linux ComputeNode Optional (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Enterprise Linux Server Optional (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Enterprise Linux Workstation Optional (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) | Fixed | RHSA-2018:1957 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) | Fixed | RHSA-2018:2147 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) | Fixed | RHSA-2018:2147 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) | Fixed | RHSA-2018:2147 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) | Fixed | RHSA-2018:2147 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) | Fixed | RHSA-2018:2147 |
| Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) | Fixed | RHSA-2018:2147 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) | Fixed | RHSA-2018:2147 |
| Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) | Fixed | RHSA-2018:2147 |
Not affected: 16 products
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 8
- Red Hat Enterprise Linux Atomic Host 7
- Red Hat Fuse 7
- Red Hat JBoss A-MQ 6
- Red Hat JBoss BRMS 6
- Red Hat JBoss Data Virtualization 6
- Red Hat JBoss Fuse 6
- Red Hat JBoss Fuse Integration Service 2
- Red Hat JBoss Fuse Service Works 6
- Red Hat Mobile Application Platform 4
- Red Hat OpenShift Container Platform 3.10
- Red Hat OpenShift Container Platform 3.6
- Red Hat OpenShift Container Platform 3.7
- Red Hat OpenShift Container Platform 3.9
- Red Hat OpenShift Enterprise 3
Timeline
- 2026-10-02 Threatist record created from CVE-2018-11235
- 2026-10-03 Alias added: GHSA-v6w3-vcjx-mwhx
- 2026-10-06 Priority changed: HIGH → MEDIUM
References
Sources
- CVE-2018-11235 · CVE Program
- CVE-2018-11235 · NVD
- FIRST EPSS
- GHSA-v6w3-vcjx-mwhx · GitHub Advisory Database · CC BY 4.0
- CVE-2018-11235 · 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