CVE-2018-11235: 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…
Noroxi assessment
Priority: Plan (action score 45/100)
- Public proof-of-concept code exists (GitHub); there is no record of exploitation in the wild.
- Probability of exploitation in the next 30 days: 47.4% (FIRST EPSS); higher than 98.8% of all records.
- Someone with local access to the system can trigger it. No account or password is required. A user must open a link or visit a page. No special conditions are required; it is repeatable.
- Fixed version: git (Alpine:v3.10) 2.17.1-r0; git (Alpine:v3.5) 2.11.3-r1; git (Alpine:v3.6) 2.13.7.
Add it to your regular patch cycle. Upgrade to git (Alpine:v3.10) 2.17.1-r0; git (Alpine:v3.5) 2.11.3-r1; git (Alpine:v3.6) 2.13.7 or later.
Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it
Primary sources: NVD · CVE.org · FIRST EPSS
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.
- Published
- May 30, 2018
- Updated
- Jun 16, 2026
- EPSS
- 47.4% · 98th percentile
- CWE
- CWE-22
Report tools
Action score
45
Add it to your regular patch cycle.
- CVSS
- 31 / 40 · 7.8 / 10
- CISA KEV
- 0 / 30 · Not listed
- EPSS
- 14 / 30 · 47.4%
Get told when this record changes
- Not in KEV: no record of exploitation in the wild
- Proof of concept exists, no weaponized module
- A fix has been released
If any of these changes, we'll tell you in the daily email digest.
Is your version affected? Check itNoroxi analysis
What does it mean in your environment?
The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.
We use this product, ask for helpAffected systems
Is your version affected?
Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.
| Vendor | Product | CPE |
|---|---|---|
| debian | debian linux | cpe:2.3:o:debian:debian_linux |
| canonical | ubuntu linux | cpe:2.3:o:canonical:ubuntu_linux |
| redhat | enterprise linux | cpe:2.3:o:redhat:enterprise_linux |
| redhat | enterprise linux desktop | cpe:2.3:o:redhat:enterprise_linux_desktop |
| redhat | enterprise linux server | cpe:2.3:o:redhat:enterprise_linux_server |
| redhat | enterprise linux server eus | cpe:2.3:o:redhat:enterprise_linux_server_eus |
| redhat | enterprise linux workstation | cpe:2.3:o:redhat:enterprise_linux_workstation |
| git-scm | git | cpe:2.3:a:git-scm:git |
| gitforwindows | git | cpe:2.3:a:gitforwindows:git |
Affected versions
NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.
- canonical ubuntu linux14.04
- canonical ubuntu linux16.04
- canonical ubuntu linux17.10
- canonical ubuntu linux18.04
- debian debian linux8.0
- debian debian linux9.0
- git-scm git2.14.0 and later · up to 2.14.3 inclusive
- git-scm gitup to 2.13.6 inclusive
+9 more rows
- git-scm git2.16.0 and later · up to 2.16.3 inclusive
- git-scm git2.15.0 and later · up to 2.15.1 inclusive
- git-scm git2.17.0
- gitforwindows gitup to 2.17.1 inclusive
- redhat enterprise linux7.0
- redhat enterprise linux desktop7.0
- redhat enterprise linux server7.0
- redhat enterprise linux server eus7.5
- redhat enterprise linux workstation7.0
Package-level exposure
OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.
| Ecosystem | Package | Affected range | Fix |
|---|---|---|---|
| Alpine:v3.10 | git | from 2.14.0 · before 2.17.1-r0 | 2.17.1-r0 |
| Alpine:v3.5 | git | from 2.14.0 · before 2.11.3-r1 | 2.11.3-r1 |
| Alpine:v3.6 | git | from 2.14.0 · before 2.13.7 | 2.13.7 |
| Alpine:v3.7 | git | from 2.14.0 · before 2.15.2-r0 | 2.15.2-r0 |
| Debian:12 | git | before 1:2.17.1-1 | 1:2.17.1-1 |
| Debian:8 | git | before 1:2.1.4-2.1+deb8u6 | 1:2.1.4-2.1+deb8u6 |
| Debian:9 | git | before 1:2.11.0-3+deb9u3 | 1:2.11.0-3+deb9u3 |
| openSUSE:Leap 15.1 | git | before 2.26.1-lp151.4.9.1 | 2.26.1-lp151.4.9.1 |
| openSUSE:Tumbleweed | git | before 2.33.0-1.3 | 2.33.0-1.3 |
| openSUSE:Tumbleweed | libgit2 | before 1.1.1-1.2 | 1.1.1-1.2 |
| Red Hat:enterprise_linux:7::client | emacs-git | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | emacs-git-el | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-all | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-bzr | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-cvs | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-daemon | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-debuginfo | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-email | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-gui | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-hg | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-p4 | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | git-svn | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
| Red Hat:enterprise_linux:7::client | gitk | before 0:1.8.3.1-14.el7_5 | 0:1.8.3.1-14.el7_5 |
+40
Same product
debian: all recordsOther highest-scoring records for the same primary product.
- CVE-2016-9079A use-after-free vulnerability in SVG Animation has been discovered.KEV86Now
- CVE-2024-44308The issue was addressed with improved checks.KEV68This week
- CVE-2021-25216A second vulnerability in BIND's GSSAPI security policy negotiation can be targeted by a buffer overflow attack64This week
Published before and after this one in the same product
- ← EarlierCVE-2018-8897May 8, 2018 · A statement in the System Programming Guide of the Intel 64 and IA-32 Architectures Software Developer's Manual (SDM) was mishandled in the…40Plan
- ← EarlierCVE-2018-1000301May 24, 2018 · curl version curl 7.20.0 to and including curl 7.59.0 contains a CWE-126: Buffer Over-read vulnerability in denial of service that can…38Monitor
- Later →CVE-2016-9893Jun 11, 2018 · Memory safety bugs were reported in Thunderbird 45.5.40Plan
Remediation
Which version to upgrade to
Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.
| Product / package | Fixed version | Source |
|---|---|---|
| alpine:git | 2.17.1-r0 · Alpine:v3.10 | Package registry (OSV) |
| debian:git | 1:2.17.1-1 · Debian:12 | Package registry (OSV) |
| opensuse:git | 2.26.1-lp151.4.9.1 · openSUSE:Leap 15.1 | Package registry (OSV) |
| opensuse:libgit2 | 1.1.1-1.2 · openSUSE:Tumbleweed | Package registry (OSV) |
| red hat:emacs-git | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:emacs-git-el | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-all | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-bzr | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-cvs | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-daemon | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-debuginfo | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-email | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-gui | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-hg | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| red hat:git-p4 | 0:1.8.3.1-14.el7_5 · Red Hat:enterprise_linux:7::client | Package registry (OSV) |
| suse:git | 2.12.3-27.14.1 · SUSE:HPE Helion OpenStack 8 | Package registry (OSV) |
| suse:libgit2 | 0.26.6-3.5.2 · SUSE:Linux Enterprise Module for Development Tools 15 | Package registry (OSV) |
Exploit status
Proof of concept available
A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.
Evidence
- Proof-of-concept repository on GitHub ×14
Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.
| Source | Kind | Date |
|---|---|---|
| Proof-of-concept repository on GitHub | 14 repositories | 2018-05-30 → 2026-01-18 |
Research context
For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.
Timeline
From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.
- First PoCsame day
- Published
- TodayNov 16, 2026+3092 d
FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).
Not on record for this CVE: patch commit or PR link · researcher credit · variant or chain candidate · public bounty program.
Technical details
Attack conditions
- Someone with local access to the system can trigger it.
- No account or password is required.
- A user must open a link or visit a page.
- No special conditions are required; it is repeatable.
If successful
- Confidentiality
- high · data can be read
- Integrity
- high · data or configuration can be modified
- Availability
- high · the service can be disrupted
- Attack vector
- Local
- Attack complexity
- Low
- Privileges required
- None
- User interaction
- Required
- Scope
- Unchanged
- Confidentiality impact
- High
- Integrity impact
- High
- Availability impact
- High
Weakness class (CWE)
CWE-22 · Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')CVSS vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
nvd-primary
Root cause
A user-supplied file name is joined with the allowed directory, but the result is never checked to confirm it is still inside that directory.
The bug in code
The whole CWE-22 classA representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.
Vulnerable
const file = path.join(ROOT, req.query.name);
res.sendFile(file);Fixed
const file = path.resolve(ROOT, req.query.name);
if (!file.startsWith(ROOT + path.sep)) {
return res.sendStatus(400);
}
res.sendFile(file);Attack context
MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.
Attack patterns (CAPEC)
- Path TraversalCAPEC-126likelihood: High · Very High
- Using Slashes and URL Encoding Combined to Bypass Validation LogicCAPEC-64likelihood: High · High
- Manipulating Web Input to File System CallsCAPEC-76likelihood: High · Very High
- Using Escaped Slashes in Alternate EncodingCAPEC-78likelihood: High · High
- Using Slashes in Alternate EncodingCAPEC-79likelihood: High · High
ATT&CK techniques
—
Change log (1)
- Fix✗ → ✓
For records you follow, these changes also arrive as notifications. →
References
Show all references (9 more)Show less
- www.securityfocus.com/bid/104345
- www.securitytracker.com/id/1040991
- access.redhat.com/errata/RHSA-2018:1957
- access.redhat.com/errata/RHSA-2018:2147
- blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/
- marc.info/?l=git&m=152761328506724&w=2
- security.gentoo.org/glsa/201805-13
- usn.ubuntu.com/3671-1/
- www.debian.org/security/2018/dsa-4212
Vendor advisories and official records. Exploit/PoC links are deliberately left out.