Not a U.S. government website. NDD is an independent vulnerability database by Volerion and is not affiliated with or endorsed by NIST or NVD.
VOLERION
Volerion Security Research

NOT DEFERRED DATABASE

VULNERABILITIES

CVE-2018-11235 Details

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.

Metrics

CVSS 3.x Severity and Vector Strings:

References to Advisories, Solutions, and Tools

By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.

URLSource(s)Tag(s)
http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html CVE
https://access.redhat.com/errata/RHSA-2018:1957 CVEThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:2147 CVEThird Party Advisory
https://blogs.msdn.microsoft.com/devops/2018/05/29/announcing-the-may-2018-git-security-vulnerability/ CVEPatchTechnical DescriptionVendor Advisory
https://marc.info/?l=git&m=152761328506724&w=2 CVERelease NotesThird Party Advisory

see all 22 references

Weakness Enumeration

CWE-IDCWE NameSource
CWE-22Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')[email protected]

Affected Products

ProductVersions

Change History

14 change records found show changes


QUICK INFO

CVE Dictionary Entry:
CVE-2018-11235
NVD Published Date:
May 30, 2018
NVD Last Modified:
Jun 17, 2026
Source:
[email protected]