
CVE catalog
CVE-2018-11235
git: CVE-2018-11235
- Severity
- High · CVSS 8.8
CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H - Published
- Source
- [NVD] · [CVE record]
- EPSS
- 48.06% · Oct 25, 2026
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.
Vulnerable and fixed packages
Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.
| Distribution | Package | Release | Version | Status |
|---|---|---|---|---|
| Debian | git | sid | 1:2.55.0-1 | fixed |
| Debian | git | forky | 1:2.53.0-1 | fixed |
| Debian | git | trixie | 1:2.47.3-0+deb13u1 | fixed |
| Debian | git | bookworm | 1:2.39.5-0+deb12u3 | fixed |
| Debian | git | bookworm-security | 1:2.39.5-0+deb12u2 | fixed |
| Alpine | git | 3.10 | 2.17.1-r0 | fixed |
| Alpine | git | 3.11 | 2.17.1-r0 | fixed |
| Alpine | git | 3.12 | 2.17.1-r0 | fixed |
| Alpine | git | 3.13 | 2.17.1-r0 | fixed |
| Alpine | git | 3.14 | 2.17.1-r0 | fixed |
| Alpine | git | 3.15 | 2.17.1-r0 | fixed |
| Alpine | git | 3.16 | 2.17.1-r0 | fixed |
| Alpine | git | 3.17 | 2.17.1-r0 | fixed |
| Alpine | git | 3.18 | 2.17.1-r0 | fixed |
| Alpine | git | 3.19 | 2.17.1-r0 | fixed |
| Alpine | git | 3.20 | 2.17.1-r0 | fixed |
| Alpine | git | 3.21 | 2.17.1-r0 | fixed |
| Alpine | git | 3.22 | 2.17.1-r0 | fixed |
| Alpine | git | 3.23 | 2.17.1-r0 | fixed |
| Alpine | git | 3.24 | 2.17.1-r0 | fixed |
| Alpine | git | 3.5 | 2.11.3-r1 | fixed |
| Alpine | git | 3.6 | 2.13.7 | fixed |
| Alpine | git | 3.7 | 2.15.2-r0 | fixed |
| Alpine | git | 3.8 | 2.17.1-r0 | fixed |
| Alpine | git | 3.9 | 2.17.1-r0 | fixed |
| Ubuntu | git | 14.04 | 1:1.8.3.2-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.4.2-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.4.3-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.4.4-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.5-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.5.1-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.5.2-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.5.2-2 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.8.5.3-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9~rc1-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.0-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.1 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.2 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.3 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.4 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.5 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.6 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.7 | vulnerable |
| Ubuntu | git | 14.04 | 1:1.9.1-1ubuntu0.8 | fixed |
| Ubuntu | git | 16.04 | 1:2.5.0-1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.6.2-1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.6.3-1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.6.4-1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.0~rc3-1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.0-1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.3-0ubuntu1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.4-0ubuntu1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.4-0ubuntu1.1 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.4-0ubuntu1.2 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.4-0ubuntu1.3 | vulnerable |
| Ubuntu | git | 16.04 | 1:2.7.4-0ubuntu1.4 | fixed |
| Ubuntu | git | 18.04 | 1:2.14.1-1ubuntu4 | vulnerable |
| Ubuntu | git | 18.04 | 1:2.15.1-1ubuntu2 | vulnerable |
| Ubuntu | git | 18.04 | 1:2.17.0-1ubuntu1 | vulnerable |
| Ubuntu | git | 18.04 | 1:2.17.1-1ubuntu0.1 | fixed |
Fixed-version evidence
| Distribution | Package | Type | Release | Fixed version | Urgency | Origin | Bugs |
|---|---|---|---|---|---|---|---|
| Debian | git | source | sid | 1:2.17.1-1 | not yet assigned | Not reported | Not reported |
| Debian | git | source | forky | 1:2.17.1-1 | not yet assigned | Not reported | Not reported |
| Debian | git | source | trixie | 1:2.17.1-1 | not yet assigned | Not reported | Not reported |
| Debian | git | source | bookworm | 1:2.17.1-1 | not yet assigned | Not reported | Not reported |
| Alpine | git | apk | 3.10 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.11 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.12 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.13 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.14 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.15 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.16 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.17 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.18 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.19 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.20 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.21 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.22 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.23 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.24 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.5 | 2.11.3-r1 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.6 | 2.13.7 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.7 | 2.15.2-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.8 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Alpine | git | apk | 3.9 | 2.17.1-r0 | Not reported | ALPINE-CVE-2018-11235 | Not reported |
| Ubuntu | git | deb | 14.04 | 1:1.9.1-1ubuntu0.8 | Not reported | UBUNTU-CVE-2018-11235 | Not reported |
| Ubuntu | git | deb | 16.04 | 1:2.7.4-0ubuntu1.4 | Not reported | UBUNTU-CVE-2018-11235 | Not reported |
| Ubuntu | git | deb | 18.04 | 1:2.17.1-1ubuntu0.1 | Not reported | UBUNTU-CVE-2018-11235 | Not reported |
OpenFactory catalog packages
[Debian 12 (Bookworm)]
- [git]Fixed
Details (4)
1:2.39.5-0+deb12u3· amd64 · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· arm64 · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· amd64 · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· arm64 · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-all]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-cvs]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-daemon-run]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-daemon-sysvinit]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-doc]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-email]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-gui]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [gitk]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-man]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-mediawiki]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [git-svn]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
- [gitweb]Fixed
Source package: [git]
Details (4)
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u3· all · bookwormFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
1:2.39.5-0+deb12u2· all · bookworm-securityFixed · Fixed:
1:2.17.1-1dsa · git · debian · bookworm; dsa · git · debian · 12
[Debian 13 (Trixie)]
- [git]Fixed
Details (2)
1:2.47.3-0+deb13u1· amd64 · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
1:2.47.3-0+deb13u1· arm64 · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
- [git-all]Fixed
Source package: [git]
Details (2)
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
- [git-cvs]Fixed
Source package: [git]
Details (2)
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
- [git-doc]Fixed
Source package: [git]
Details (2)
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
- [git-email]Fixed
Source package: [git]
Details (2)
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
- [git-gui]Fixed
Source package: [git]
Details (2)
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
- [gitk]Fixed
Source package: [git]
Details (2)
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
1:2.47.3-0+deb13u1· all · trixieFixed · Fixed:
1:2.17.1-1dsa · git · debian · 13
Observed:
References
- [https://ftp.suse.com/pub/projects/security/csaf/rhsa-2018_1957.json]
- [https://osv.dev/vulnerability/ALPINE-CVE-2018-11235]
- [https://osv.dev/vulnerability/DEBIAN-CVE-2018-11235]
- [https://osv.dev/vulnerability/DSA-4212-1]
- [https://osv.dev/vulnerability/UBUNTU-CVE-2018-11235]
- [https://security-tracker.debian.org/tracker/CVE-2018-11235]
- [https://security.access.redhat.com/data/csaf/v2/vex/2018/cve-2018-11235.json]
[Debian Security Tracker] · [FIRST EPSS] · [OSV Package Vulnerability Database] · [Red Hat security advisories and VEX] · [SUSE security advisories and VEX]