vulnerability

CentOS Linux: CVE-2018-11235: Important: git security update (CESA-2018:1957)

Severity
7
CVSS
(AV:N/AC:M/Au:N/C:P/I:P/A:P)
Published
May 29, 2018
Added
Jun 26, 2018
Modified
May 25, 2023

Description

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.

Solutions

centos-upgrade-emacs-gitcentos-upgrade-emacs-git-elcentos-upgrade-gitcentos-upgrade-git-allcentos-upgrade-git-bzrcentos-upgrade-git-cvscentos-upgrade-git-daemoncentos-upgrade-git-debuginfocentos-upgrade-git-emailcentos-upgrade-git-guicentos-upgrade-git-hgcentos-upgrade-git-p4centos-upgrade-git-svncentos-upgrade-gitkcentos-upgrade-gitwebcentos-upgrade-perl-gitcentos-upgrade-perl-git-svn
Title
Rapid7 Labs

2026 Global Threat Landscape Report

The predictive window has collapsed. Exploitation follows disclosure in days. See how attackers are accelerating and how to stay ahead.