CVE-2018-17456
Git 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…
- 9.8CriticalCVSS base score
- 97.4%Exploitation in 30 daysEPSS · top 0.1% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 3Public exploitsMetasploit, Nuclei and Exploit-DB
Description
Git 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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Metasploit module and 2 Exploit-DB entries for it. 2 references of the record are tagged as an exploit.
Show the exploits5
Metasploit modules1 module
- Malicious Git HTTP Server For CVE-2018-17456 (Metasploit module) (opens in a new tab)
exploit/multi/http/git_submodule_url_execRank excellentdisclosed 5 Oct 2018
Exploit-DB2 entries
- Git Submodule - Arbitrary Code Execution (Exploit-DB entry) (opens in a new tab)
EDB-ID 45631local, linuxpublished 16 Oct 2018Not verified
- Git Submodule - Arbitrary Code Execution (PoC) (Exploit-DB entry) (opens in a new tab)
EDB-ID 45548local, linuxpublished 5 Oct 2018Not verified
References tagged exploit2 references
- 45631 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 45548 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By mitre
- 11 days later
· 11 days later
Published
- 6 years later
· 6 years later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| NVDNVD · Modified | 3.0 | Critical9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 97.4% · top 0.1% of all CVEs (11 Nov 2026)
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.8.
Affected products
n/a
- affected n/a
References
References18
- 45631 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- 105523 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- 1041811 (opens in a new tab)vdb-entryx_refsource_SECTRACKx_transferred
- DSA-4311 (opens in a new tab)vendor-advisoryx_refsource_DEBIANx_transferred
- RHSA-2018:3505 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404 (opens in a new tab)x_refsource_MISCx_transferred
- 45548 (opens in a new tab)exploitx_refsource_EXPLOIT-DBx_transferred
- RHSA-2018:3541 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46 (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2018:3408 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- https://marc.info/?l=git&m=153875888916397&w=2 (opens in a new tab)x_refsource_MISCx_transferred
- https://www.openwall.com/lists/oss-security/2018/10/06/3 (opens in a new tab)x_refsource_MISCx_transferred
- USN-3791-1 (opens in a new tab)vendor-advisoryx_refsource_UBUNTUx_transferred
- 20190320 March 2019 Sourcetree Advisory - Multiple Remote Code Execution Vulnerabilities (opens in a new tab)mailing-listx_refsource_BUGTRAQx_transferred
- 107511 (opens in a new tab)vdb-entryx_refsource_BIDx_transferred
- http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html (opens in a new tab)x_refsource_MISCx_transferred
- RHSA-2020:0316 (opens in a new tab)vendor-advisoryx_refsource_REDHATx_transferred
- openSUSE-SU-2020:0598 (opens in a new tab)vendor-advisoryx_refsource_SUSEx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2018-9209 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisories (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2018-17456)Record last updated .