VDB

CVE-2018-11235

CVE-2018-11235 PUBLISHED

Reported by mitre · Published May 30, 2018

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.

Fixed versions

Upgrade to a fixed version or later. Language registries are listed first, then Linux distributions, then vendor products.

PackageEcosystemFixed in
gitArch Linux2.17.1-1
gitAlpine2.17.1-r0, 2.15.2-r0, 2.13.7, 2.11.3-r1
git-emailAmazon Linux2.14.4-1.amzn2
git-p4Amazon Linux2.14.4-1.amzn2
perl-GitAmazon Linux2.14.4-1.amzn2
gitAmazon Linux2.14.4-1.amzn2
gitgit-scm2.16.3, 2.15.1, 2.14.3, 2.13.6
gitUbuntu:14.04:LTS1:1.9.1-1ubuntu0.8

Affected products

VendorProductVersions
n/an/an/a
n/an/a*

Timeline

  • May 30, 2018 CVE Published
  • May 30, 2018 PoC Published (13 in total, the first dated here)
  • Apr 14, 2021 EPSS Score (30 in total, the first dated here)
  • Sep 8, 2025 CVE Updated
  • Mar 6, 2026 Distribution Patch (4 in total, the first dated here)
  • Mar 6, 2026 Security Advisory (8 in total, the first dated here)
  • Sep 26, 2026 Coalition ESS Score

Query this with the API

The same record, from the CLI:

vulnetix vdb vuln CVE-2018-11235
vulnetix vdb fixes CVE-2018-11235

Or with curl, using the org id and key from your account page:

curl -s -H "Authorization: ApiKey ${VULNETIX_ORG_ID}:${VULNETIX_API_KEY}" \
  "https://api.vdb.vulnetix.com/v2/vuln/CVE-2018-11235/fixes/registry"

The Community plan is free and allows 50 queries a day. Get a free API key · API quickstart

References

Look up in the Resolve Platform →
$ Lookup Community · 50/day Open Lookup ›