CVE-2018-11235
CVE-2018-11235 is a path traversal in Debian Linux (CVSS 7.8, High).
Public exploit available. Not confirmed exploited in the wild yet. A vendor fix is available.
Public exploit: 1 sourceFixVendor fixNo build named by the sources
e.g. OID 1.3.6.1.4.1.25623.1.0.113205
What to do
The vendor has published a fix. Version details are below where the sources state them.
- Git-scm GitAffected: ≤ 2.13.6Upgrade to: after 2.13.6Stated by: NVD
- Gitforwindows GitAffected: ≤ 2.17.1Upgrade to: after 2.17.1Stated by: NVD
- RusBITech-Astra Astra Linux Special EditionAffected: 1.5 «Smolensk»Upgrade to: not statedStated by: BDU
- Open-source community GitAffected: 2.13.7Upgrade to: not statedStated by: BDU
Versions as the sources state them. Full version matrix after sign-in
Steps
Written by AI from the record- Check the installed Git version on any systems that run or perform “git clone --recurse-submodules”.
- Identify whether any employees/scripts clone untrusted repositories with submodules enabled (look for the --recurse-submodules option in documentation, scripts, CI jobs, and command histories).
- Upgrade Git to a fixed version: update to 2.17.1 or later (this also covers the affected older lines listed for 2.13.7, 2.14.4, 2.15.2, and 2.16.4).
- If you cannot upgrade immediately, stop cloning untrusted repos with --recurse-submodules and review/limit which repositories are allowed to be cloned from.
SeguriScan is made by IntruForce, a cybersecurity company in Madrid, Spain. Links open intruforce.com.
What it is
From the CVE record
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.
In plain language
Written by AI from the recordIf you use Git on systems running older Git versions, a malicious project could run code on your machine when someone clones it with submodules enabled—but this is not a risk in normal browsing and requires a specific clone action.
CVE-2018-11235 is an unauthenticated local code execution issue in Git caused by path handling in submodule processing (via a crafted .gitmodules file) that can lead to unintended hook execution when cloning with --recurse-submodules.
If you're affected
- Malicious code runs on your server
- Potential full account compromise
- System disruption or data loss
- Supply-chain style compromise risk
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Not in the catalog. CISA has not confirmed exploitation.
- Public exploits
1 source with a proof of concept or module.
Exploit links, PoCs and Metasploit modules after sign-in- EPSS
47% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
The patch came 471 days before any public exploit.
- EPSS band changehigh → moderateepss band change
- EPSS band changemoderate → highepss band change
- EPSS band changehigh → moderateepss band change
- EPSS band changemoderate → highepss band change
- EPSS band changehigh → moderateepss band change
- EPSS band changemoderate → high
Affected products
And 6 more affected products. See all after sign-in
Technical detail
CVSS 3.0 vector
Open in the CVSS calculatorCVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Scored 7.8 by NVD.
How it is reached
- Attack Vector LocalRequires local access to the vulnerable system (e.g. local login, malicious file)
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction RequiredA user must click a link, open a file, or perform some action
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability HighTotal denial of service — the component is completely unavailable
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
- securityfocus.com/bid/104345
- securitytracker.com/id/1040991
And 11 more references. See all after sign-in
Questions about CVE-2018-11235
- Is CVE-2018-11235 being exploited?
- Not confirmed. Public exploit code exists (1 source), but CVE-2018-11235 is not in CISA KEV. EPSS puts the chance of exploitation in the next 30 days at 47%.
- Which versions are affected by CVE-2018-11235?
- Git: ≤ 2.13.6. Git: ≤ 2.17.1. Astra Linux Special Edition: 1.5 «Smolensk». 1 more product is listed in the record.
- How do I fix or mitigate CVE-2018-11235?
- The vendor has published a fix. The advisory is on blogs.msdn.microsoft.com.
Last updated
Related articles
All articlesWatch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next serious one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Debian Linux, not every advisory. This one: public exploit.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI