CVE-2018-11235: canonical ubuntu_linux Path Traversal
Vulnerability summary
CVE-2018-11235 is a high (CVSS 7.8) Path Traversal vulnerability in canonical ubuntu_linux. EPSS estimates a 48.06% chance of exploitation in the next 30 days, higher than 98.8% of scored vulnerabilities. 1 public exploit is recorded.
Advisory lineage
Upstream 0 · Downstream 12 · Related 10Timeline
- 30-05-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated7.8HighCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS trend
Probability
48.06%
Chance of exploitation in the next 30 days
Percentile
99%
Versus all other CVEs
30-day change
-0.69 pp
From 48.75% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
1 foundExploitDB 44822
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Redhat22 products
- enterprise_linuxEOL7.0
- enterprise_linux_desktop7.0
- enterprise_linux_server7.0
- enterprise_linux_server_eus7.5
- enterprise_linux_workstation7.0
Debian2 products
- git< 1:2.17.1-1 | < 1:2.1.4-2.1+deb8u6 | < 1:2.11.0-3+deb9u3
- debian_linuxEOL8.0 | 9.0
Alpine1 product
- git≥ 2.14.0, < 2.17.1-r0 | ≥ 2.14.0, < 2.11.3-r1 | ≥ 2.14.0, < 2.13.7 | ≥ 2.14.0, < 2.15.2-r0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 17.10 | 18.04
Git-scm1 product
- git≤ 2.13.6 | ≥ 2.14.0, ≤ 2.14.3 | ≥ 2.15.0, ≤ 2.15.1 | ≥ 2.16.0, ≤ 2.16.3 | 2.17.0
Gitforwindows1 product
- git≤ 2.17.1
Ubuntu1 product
- git< 1:1.9.1-1ubuntu0.8 | < 1:2.7.4-0ubuntu1.4 | < 1:2.17.1-1ubuntu0.1
7 vendors · 29 products
References
23 links- access.redhat.com/errata/RHSA-2018:1957Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/X Refsource MISCPatchTechnical DescriptionVendor Advisory