CVE-2018-17456
A public proof of concept exists; no exploitation attested.
- Published2018-10-06
- WeaknessCWE-88
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2018-10-05Exploit-DB entryExploit-DB
- 2018-10-0614:29CVE publishedNVD
Observed activity
isMalicious corpus · updated 2026-11-04 09:37 UTCBlock these indicators
- Firewall list (EDL, text): https://api.ismalicious.com/edl/cve/CVE-2018-17456?format=txt
- CSV export: https://api.ismalicious.com/edl/cve/CVE-2018-17456?format=csv
- TAXII collection of exploited CVEs
- The EDL and CSV take an API key on the Pro plan.
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 6.0 | = 6.0 | no fix published | NVD |
| 6.7 | = 6.7 | no fix published | NVD |
| 7.0 | = 7.0 | no fix published | NVD |
| 7.3 | = 7.3 | no fix published | NVD |
| 7.4 | = 7.4 | no fix published | NVD |
| 7.5 | = 7.5 | no fix published | NVD |
| 7.6 | = 7.6 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.19 | ≥ 2.19.0, < 2.19.1 | 2.19.1 | NVD |
| 2.18 | ≥ 2.18.0, < 2.18.1 | 2.18.1 | NVD |
| 2.17 | ≥ 2.17.0, < 2.17.2 | 2.17.2 | NVD |
| 2.16 | ≥ 2.16.0, < 2.16.5 | 2.16.5 | NVD |
| 2.15 | ≥ 2.15.0, < 2.15.3 | 2.15.3 | NVD |
| 2.14 | ≥ 2.14.0, < 2.14.5 | 2.14.5 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 14.4 | = 14.04 | no fix published | NVD |
| 16.4 | = 16.04 | no fix published | NVD |
| 18.4 | = 18.04 | no fix published | NVD |
8 more products in the sources.
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Packages
- gitUbuntu:18.04:LTSall versions · fixed in 1:2.17.1-1ubuntu0.3
- gitUbuntu:16.04:LTSall versions · fixed in 1:2.7.4-0ubuntu1.5
- gitUbuntu:14.04:LTSall versions · fixed in 1:1.9.1-1ubuntu0.9
- gitSUSE:OpenStack Cloud 8all versions · fixed in 2.12.3-27.17.2
- gitSUSE:OpenStack Cloud 7all versions · fixed in 2.12.3-27.17.2
- gitSUSE:Linux Enterprise Software Development Kit 12 SP4all versions · fixed in 2.12.3-27.17.2
- gitSUSE:Linux Enterprise Software Development Kit 12 SP3all versions · fixed in 2.12.3-27.17.2
- gitSUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 2.12.3-27.17.2
56 more package ranges on OSV.dev
Vendor advisories
git: arbitrary code execution via .gitmodules
camel as a component of Red Hat Fuse 7 · camel as a component of Red Hat JBoss Fuse 6 · camel as a component of Red Hat JBoss Fuse Integration Service 2
Red Hat Security Advisory: git security update
Red Hat Security Advisory: rh-git29-git security update
Red Hat Security Advisory: git security update
Fix
- Vendor fix Red Hat Product Security RHSA-2020:0316 · 77 productsFor details on how to apply this update, which includes the changes described in this advisory, refer to: https://access.redhat.com/articles/11258
- No fix available, says the vendor Red Hat Product Security CVE-2018-17456 · 3 productsAffected
Advisories and patches
- github.comPatch
- github.comPatch
Detection
read 2026-11-03 22:42 UTC- Nuclei template
- none so far ProjectDiscovery
- Proof-of-concept repositories
- 5 repositories, unverifiedshpik-kr/CVE-2018-17456matlink/CVE-2018-17456799600966/CVE-2018-17456AnonymKing/CVE-2018-17456KKkai0315/CVE-2018-17456 PoC-in-GitHub
- Metasploit modules
- 1 moduleexploit/multi/http/git_submodule_url_execrank: excellentModule metadata: Metasploit Framework, © Rapid7, Inc., BSD-3-Clause. Metasploit Framework
Sources
- NVDCVSS 3.09.8read 2026-10-23
- NVDCVSS 2.07.5read 2026-10-23
- NVDweakness (CWE)CWE-88read 2026-10-23
- FIRST EPSSEPSS score97.4 %read 2026-11-03
- PoC-in-GitHubproof of concept5read 2026-11-03
- Exploit-DBdetectionread 2026-11-03
- Metasploit FrameworkMetasploit modules1known since 2026-11-01
- OSVaffected packages—
Identifiers
- EUVD-2018-9209same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- exploit/multi/http/git_submodule_url_execexploit moduleMetasploit Framework © Rapid7 · BSD-3-Clause
- DLA-1533-1advisory covering several CVEsDebian · LicenseRef-unstated
- DSA-4311-1advisory covering several CVEsDebian · LicenseRef-unstated
- MGASA-2018-0395advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2020:0598-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10786-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10943-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- RHSA-2018:3408advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2018:3541advisory covering several CVEsRed Hat · CC-BY-4.0
- RHSA-2020:0316advisory covering several CVEsRed Hat · CC-BY-4.0
- SUSE-SU-2018:3150-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:4009-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:4088-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:4088-2advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2018:4088-3advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:1121-1advisory covering several CVEsSUSE · LicenseRef-unstated
- USN-3791-1advisory covering several CVEsUbuntu
Technical details
- CVSS v3 Vector
- CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Published
- 2018-10-06
- Last Modified
- 2026-06-17
- NVD status
- Modified
Frequently asked questions
What is CVE-2018-17456?
Is CVE-2018-17456 actively exploited?
What is the CVSS score for CVE-2018-17456?
Running git? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website lookups · 250 API requests/month
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- Exploit-DB · Exploit-DB terms of service · terms restrict redistribution
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- Metasploit Framework · BSD-3-Clause
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- PoC-in-GitHub · CC0-1.0
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0