Live threats

All CVEs / Debian

CVE-2018-11235Debian Linux

High 7.8 High EPSS

Priority
52
CVSS 3.0
7.8
EPSS
47.4%
probability of exploitation in 30 days · percentile 99
Auth required
Yes
Published
May 30, 2018
Updated
Jun 17, 2026
Category
Operating system · Linux
Weakness (CWE)
CWE-22
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Debian Linux.

Affected products (CPE)

VendorProductVersions
debiandebian_linux8.0
debiandebian_linux9.0
canonicalubuntu_linux14.04
canonicalubuntu_linux16.04
canonicalubuntu_linux17.10
canonicalubuntu_linux18.04
redhatenterprise_linux7.0
redhatenterprise_linux_desktop7.0
redhatenterprise_linux_server7.0
redhatenterprise_linux_server_eus7.5
redhatenterprise_linux_workstation7.0
git-scmgit≤ 2.13.6
git-scmgit≥ 2.14.0 ≤ 2.14.3
git-scmgit≥ 2.15.0 ≤ 2.15.1
git-scmgit≥ 2.16.0 ≤ 2.16.3
git-scmgit2.17.0
gitforwindowsgit≤ 2.17.1

Official sources

References

Links published by the sources. Open them with care.