CVE-2018-17456

Summary

CVECVE-2018-17456
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2018-10-06 14:29:00 UTC
Updated2020-08-24 17:37:00 UTC
DescriptionGit before 2.14.5, 2.15.x before 2.15.3, 2.16.x before 2.16.5, 2.17.x before 2.17.2, 2.18.x before 2.18.1, and 2.19.x before 2.19.1 allows remote code execution during processing of a recursive "git clone" of a superproject if a .gitmodules file has a URL field beginning with a '-' character.

Risk And Classification

Problem Types: CWE-88

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Canonical Ubuntu Linux 14.04 All All All
Operating System Canonical Ubuntu Linux 16.04 All All All
Operating System Canonical Ubuntu Linux 18.04 All All All
Operating System Debian Debian Linux 9.0 All All All
Operating System Debian Debian Linux 9.0 All All All
Application Git-scm Git All All All All
Application Git-scm Git All All All All
Application Redhat Ansible Tower 3.3 All All All
Application Redhat Ansible Tower 3.3 All All All
Operating System Redhat Enterprise Linux 6.0 All All All
Operating System Redhat Enterprise Linux 6.7 All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 7.3 All All All
Operating System Redhat Enterprise Linux 7.4 All All All
Operating System Redhat Enterprise Linux 7.5 All All All
Operating System Redhat Enterprise Linux 7.6 All All All
Operating System Redhat Enterprise Linux 6.0 All All All
Operating System Redhat Enterprise Linux 6.7 All All All
Operating System Redhat Enterprise Linux 7.0 All All All
Operating System Redhat Enterprise Linux 7.3 All All All
Operating System Redhat Enterprise Linux 7.4 All All All
Operating System Redhat Enterprise Linux 7.5 All All All
Operating System Redhat Enterprise Linux 7.6 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Desktop 7.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server 7.0 All All All
Operating System Redhat Enterprise Linux Server Aus 7.6 All All All
Operating System Redhat Enterprise Linux Server Aus 7.6 All All All
Operating System Redhat Enterprise Linux Server Eus 7.6 All All All
Operating System Redhat Enterprise Linux Server Eus 7.6 All All All
Operating System Redhat Enterprise Linux Server Tus 7.6 All All All
Operating System Redhat Enterprise Linux Server Tus 7.6 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All
Operating System Redhat Enterprise Linux Workstation 7.0 All All All

References

ReferenceSourceLinkTags
Git Submodule - Arbitrary Code Execution (PoC) - Linux local Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Git Submodule - Arbitrary Code Execution - Linux local Exploit EXPLOIT-DB www.exploit-db.com Exploit, Third Party Advisory, VDB Entry
Sourcetree Git Arbitrary Code Execution / URL Handling ≈ Packet Storm MISC packetstormsecurity.com Third Party Advisory, VDB Entry
Atlassian SourceTree CVE-2018-17456 Arbitrary Code Execution Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
Red Hat Customer Portal REDHAT access.redhat.com
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
Debian -- Security Information -- DSA-4311-1 git DEBIAN www.debian.org Third Party Advisory
[security-announce] openSUSE-SU-2020:0598-1: moderate: Security update f SUSE lists.opensuse.org
'[Announce] Git 2.14.5, 2.15.3, 2.16.5, 2.17.2, 2.18.1, and 2.19.1' - MARC MISC marc.info Third Party Advisory
Git 'git clone' Lets Remote Users Execute Arbitrary Code When Cloning to a Target System - SecurityTracker SECTRACK www.securitytracker.com Third Party Advisory, VDB Entry
USN-3791-1: Git vulnerability | Ubuntu security notices UBUNTU usn.ubuntu.com Third Party Advisory
fsck: detect submodule urls starting with dash · git/git@a124133 · GitHub MISC github.com Patch, Third Party Advisory
Git CVE-2018-17456 Arbitrary Code Execution Vulnerability BID www.securityfocus.com Third Party Advisory, VDB Entry
fsck: detect submodule paths starting with dash · git/git@1a7fd1f · GitHub MISC github.com Patch, Third Party Advisory
Red Hat Customer Portal REDHAT access.redhat.com Third Party Advisory
oss-security - CVE-2018-17456 Git RCE via .gitmodules MISC www.openwall.com Mailing List, Third Party Advisory
Bugtraq: March 2019 Sourcetree Advisory - Multiple Remote Code Execution Vulnerabilities BUGTRAQ seclists.org Mailing List, Third Party Advisory
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 500218 Alpine Linux Security Update for git
  • 503962 Alpine Linux Security Update for git
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report