CVE-2018-11235

N/A
Published: May 30, 2018 at 04:00 AM UTC
Updated: June 17, 2026 at 01:35 AM UTC
9 products affected across 5 vendorsDebian LinuxUbuntu LinuxEnterprise Linux

Using N/A by N/A?

Get instant alerts when new vulnerabilities affect N/A - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
N/A
Exploit prediction
EPSS 48%

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.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

References (11)

VDB Entryx_refsource_BIDThird Party Advisory
http://www.securityfocus.com/bid/104345
VDB Entryx_refsource_SECTRACKThird Party Advisory
http://www.securitytracker.com/id/1040991
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:1957
Vendor Advisoryx_refsource_REDHATThird Party Advisory
https://access.redhat.com/errata/RHSA-2018:2147
x_refsource_MISCRelease NotesThird Party Advisory
https://marc.info/?l=git&m=152761328506724&w=2
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/201805-13

CVSS

Confidentiality
PARTIAL
Integrity
PARTIAL
Availability
PARTIAL
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-22

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card