Skip to content
Fencer Vulns
high 7.8

CVE-2018-11235 in the critical feed json

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…

published 2018-05-30 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-3275

cvss
7.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
47.4%
EPSS 47.4% chance of exploitation in 30 days, percentile 98%
public exploits
0
none known

Summary

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.

Patch / fix

  • git-scm git 2.13.7, 2.14.4, 2.15.2, 2.16.4, 2.17.1
  • git git 2.13.7, 2.14.4, 2.15.2, 2.16.4, 2.17.1
  • git_project git 2.13.7, 2.14.4, 2.15.2, 2.16.4, 2.17.1
  • git_for_windows_project git_for_windows 2.17.1.1
  • gitforwindows git 2.17.1.1
  • git Debian 14, Debian 13, Debian 12 1:2.17.1-1

debian advisories DEBIAN-CVE-2018-11235

  • git Ubuntu 14.04 LTS 1:1.9.1-1ubuntu0.8
  • git Ubuntu 16.04 LTS 1:2.7.4-0ubuntu1.4
  • git Ubuntu 18.04 LTS 1:2.17.1-1ubuntu0.1

ubuntu advisories UBUNTU-CVE-2018-11235

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • git RHEL 7 1.8.3.1-14.el7_5
  • gitk RHEL 7 1.8.3.1-14.el7_5
  • git-hg RHEL 7 1.8.3.1-14.el7_5
  • git-p4 RHEL 7 1.8.3.1-14.el7_5
  • gitweb RHEL 7 1.8.3.1-14.el7_5
  • git-all RHEL 7 1.8.3.1-14.el7_5
  • git-bzr RHEL 7 1.8.3.1-14.el7_5
  • git-cvs RHEL 7 1.8.3.1-14.el7_5

red hat advisories RHSA-2018:1957RHSA-2018:2147

  • git SLE Module for Development Tools 15 SP1, SLE Module for Basesystem 15 SP1 2.26.1-3.25.2
  • libgit2 SLE Software Development Kit 12 SP3, Manager Server 3.2, Manager Server 3.1 0.24.1-7.6.1
  • git SLES 12 SP3, SLES 12 SP2-BCL, SLE Software Development Kit 12 SP3 +10 more 2.12.3-27.14.1
  • libgit2 SLE Module for Development Tools 15 0.26.6-3.5.2
  • git SLE Module for Development Tools 15, SLE Module for Basesystem 15 2.16.4-3.3.2

suse advisories SUSE-SU-2020:1121-1SUSE-SU-2018:3440-1SUSE-SU-2018:1566-2SUSE-SU-2018:2469-1SUSE-SU-2018:1872-1SUSE-SU-2018:1566-1

  • git openSUSE Tumbleweed 2.33.0-1.3
  • libgit2 openSUSE Tumbleweed 1.1.1-1.2
  • git openSUSE Leap 15.1 2.26.1-lp151.4.9.1

opensuse advisories openSUSE-SU-2024:10786-1openSUSE-SU-2024:10943-1openSUSE-SU-2020:0598-1

  • git Alpine 3.24, Alpine 3.23, Alpine 3.22 +14 more 2.17.1-r0
  • git Alpine 3.5 2.11.3-r1
  • git Alpine 3.6 2.13.7
  • git Alpine 3.7 2.15.2-r0

alpine advisories ALPINE-CVE-2018-11235

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • git Arch Linux 2.17.1-1

arch linux advisories AVG-711

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-11235 updated cvss 8.8

git: arbitrary code execution when recursively cloning a malicious repository

  • Red Hat JBoss Developer Studio 11 jgit jgit Red Hat OpenShift Container Platform 3.2 source-to-image Red Hat OpenShift Container Platform 3.3 source-to-image Red Hat OpenShift Container Platform 3.4 source-to-image Red Hat OpenShift Container Platform 3.5 source-to-image Red Hat OpenShift Enterprise 3.0 source-to-image
    +1 more products
    Red Hat OpenShift Enterprise 3.1 source-to-image
    affected: workaround, no fix planned “Will not fix”
  • Red Hat Enterprise Linux Client Optional (v. 7) git 1.8.3.1-14.el7_5, gitk 1.8.3.1-14.el7_5, git-hg 1.8.3.1-14.el7_5, git-p4 1.8.3.1-14.el7_5, gitweb 1.8.3.1-14.el7_5, git-all 1.8.3.1-14.el7_5, +10 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) git 1.8.3.1-14.el7_5, gitk 1.8.3.1-14.el7_5, git-hg 1.8.3.1-14.el7_5, git-p4 1.8.3.1-14.el7_5, gitweb 1.8.3.1-14.el7_5, git-all 1.8.3.1-14.el7_5, +10 more Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) git 1.8.3.1-14.el7_5, perl-Git 1.8.3.1-14.el7_5 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) gitk 1.8.3.1-14.el7_5, git-hg 1.8.3.1-14.el7_5, git-p4 1.8.3.1-14.el7_5, gitweb 1.8.3.1-14.el7_5, git-all 1.8.3.1-14.el7_5, git-bzr 1.8.3.1-14.el7_5, +8 more Red Hat Enterprise Linux Server (v. 7) git 1.8.3.1-14.el7_5, perl-Git 1.8.3.1-14.el7_5 Red Hat Enterprise Linux Server Optional (v. 7) gitk 1.8.3.1-14.el7_5, git-hg 1.8.3.1-14.el7_5, git-p4 1.8.3.1-14.el7_5, gitweb 1.8.3.1-14.el7_5, git-all 1.8.3.1-14.el7_5, git-bzr 1.8.3.1-14.el7_5, +8 more
    +2 more products
    Red Hat Enterprise Linux Workstation (v. 7) git 1.8.3.1-14.el7_5, perl-Git 1.8.3.1-14.el7_5 Red Hat Enterprise Linux Workstation Optional (v. 7) gitk 1.8.3.1-14.el7_5, git-hg 1.8.3.1-14.el7_5, git-p4 1.8.3.1-14.el7_5, gitweb 1.8.3.1-14.el7_5, git-all 1.8.3.1-14.el7_5, git-bzr 1.8.3.1-14.el7_5, +8 more
    fixed: vendor fix RHSA-2018:1957
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-git29-git 2.9.3-4.el6, rh-git29-gitk 2.9.3-4.el6, rh-git29-git-p4 2.9.3-4.el6, rh-git29-gitweb 2.9.3-4.el6, rh-git29-git-all 2.9.3-4.el6, rh-git29-git-cvs 2.9.3-4.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git29-git 2.9.3-4.el7, rh-git29-gitk 2.9.3-4.el7, rh-git29-git-p4 2.9.3-4.el7, rh-git29-gitweb 2.9.3-4.el7, rh-git29-git-all 2.9.3-4.el7, rh-git29-git-cvs 2.9.3-4.el7, +7 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-git29-git 2.9.3-4.el6, rh-git29-gitk 2.9.3-4.el6, rh-git29-git-p4 2.9.3-4.el6, rh-git29-gitweb 2.9.3-4.el6, rh-git29-git-all 2.9.3-4.el6, rh-git29-git-cvs 2.9.3-4.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-git29-git 2.9.3-4.el7, rh-git29-gitk 2.9.3-4.el7, rh-git29-git-p4 2.9.3-4.el7, rh-git29-gitweb 2.9.3-4.el7, rh-git29-git-all 2.9.3-4.el7, rh-git29-git-cvs 2.9.3-4.el7, +7 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-git29-git 2.9.3-4.el7, rh-git29-gitk 2.9.3-4.el7, rh-git29-git-p4 2.9.3-4.el7, rh-git29-gitweb 2.9.3-4.el7, rh-git29-git-all 2.9.3-4.el7, rh-git29-git-cvs 2.9.3-4.el7, +7 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-git29-git 2.9.3-4.el7, rh-git29-gitk 2.9.3-4.el7, rh-git29-git-p4 2.9.3-4.el7, rh-git29-gitweb 2.9.3-4.el7, rh-git29-git-all 2.9.3-4.el7, rh-git29-git-cvs 2.9.3-4.el7, +7 more
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-git29-git 2.9.3-4.el6, rh-git29-gitk 2.9.3-4.el6, rh-git29-git-p4 2.9.3-4.el6, rh-git29-gitweb 2.9.3-4.el6, rh-git29-git-all 2.9.3-4.el6, rh-git29-git-cvs 2.9.3-4.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git29-git 2.9.3-4.el7, rh-git29-gitk 2.9.3-4.el7, rh-git29-git-p4 2.9.3-4.el7, rh-git29-gitweb 2.9.3-4.el7, rh-git29-git-all 2.9.3-4.el7, rh-git29-git-cvs 2.9.3-4.el7, +7 more
    fixed: vendor fix RHSA-2018:2147
  • Red Hat Enterprise Linux 6 git, gitk, gitweb, git-all, git-cvs, git-gui, +6 more Red Hat Enterprise Linux 8 git, gitk, gitweb, git-all, git-gui, git-svn, +8 more Red Hat Enterprise Linux Atomic Host 7 git Red Hat Fuse 7 camel Red Hat JBoss A-MQ 6 jgit jgit Red Hat JBoss BRMS 6 jgit jgit
    +10 more products
    Red Hat JBoss Data Virtualization 6 jgit jgit Red Hat JBoss Fuse 6 camel Red Hat JBoss Fuse Integration Service 2 camel Red Hat JBoss Fuse Service Works 6 jgit jgit Red Hat Mobile Application Platform 4 fh-scm Red Hat OpenShift Container Platform 3.6 source-to-image Red Hat OpenShift Container Platform 3.7 source-to-image Red Hat OpenShift Container Platform 3.9 source-to-image Red Hat OpenShift Container Platform 3.10 source-to-image Red Hat OpenShift Enterprise 3 atomic-openshift, atomic-openshift-pod, atomic-openshift-node, atomic-openshift-tests, atomic-openshift-master, atomic-openshift-clients, +13 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Exploit prediction

47.42% chance of exploitation in the next 30 days, higher than 98% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • exploit-db.com https://www.exploit-db.com/exploits/44822/ referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
NVD 3.0 7.8 CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD 2.0 6.8 AV:N/AC:M/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-22 Improper Limitation of a Pathname to a Restricted Directory

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.

CPEs and fixed versions use Anchore's correction of NVD's data: git and git for windows improved version ranges, cpes, etc.