BREW-GIT-CVE-2018-17456 (CVE-2018-17456)
Vulnerability from osv_homebrew – Published: 2026-10-15 03:31 – Updated: 2026-10-15 03:31 – Source websiteGit 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.
{
"affected": [
{
"ecosystem_specific": {
"fix": "bump",
"range_state": "fixed",
"upstream_fixed_in": "2.19.1"
},
"package": {
"ecosystem": "Homebrew",
"name": "git",
"purl": "pkg:brew/git"
},
"ranges": [
{
"events": [
{
"introduced": "1.6.3.1"
},
{
"fixed": "2.19.1"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"database_specific": {
"confidence": "high",
"source": "matched",
"strategy": "git",
"upstream_evidence": [
{
"ecosystem": "GIT",
"key": "https://github.com/git/git",
"name": "https://github.com/git/git",
"strategy": "git",
"subject_version": "2.56.0"
},
{
"ecosystem": "Debian",
"key": "Debian/git",
"name": "git",
"strategy": "distro"
},
{
"ecosystem": "GIT",
"key": "upstream:https://github.com/git/git",
"name": "https://github.com/git/git",
"strategy": "distro",
"subject_version": "2.56.0"
},
{
"ecosystem": "Ubuntu",
"key": "Ubuntu/git",
"name": "git",
"strategy": "distro"
}
]
},
"details": "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 \u0027-\u0027 character.",
"id": "BREW-git-CVE-2018-17456",
"modified": "2026-10-15T03:31:21Z",
"published": "2026-10-15T03:31:21Z",
"references": [
{
"type": "WEB",
"url": "http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html"
},
{
"type": "ADVISORY",
"url": "http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html"
},
{
"type": "ADVISORY",
"url": "http://www.securityfocus.com/bid/105523"
},
{
"type": "ADVISORY",
"url": "http://www.securityfocus.com/bid/107511"
},
{
"type": "ADVISORY",
"url": "http://www.securitytracker.com/id/1041811"
},
{
"type": "ADVISORY",
"url": "https://access.redhat.com/errata/RHSA-2018:3408"
},
{
"type": "ADVISORY",
"url": "https://access.redhat.com/errata/RHSA-2018:3505"
},
{
"type": "ADVISORY",
"url": "https://access.redhat.com/errata/RHSA-2018:3541"
},
{
"type": "ADVISORY",
"url": "https://access.redhat.com/errata/RHSA-2020:0316"
},
{
"type": "ADVISORY",
"url": "https://marc.info/?l=git\u0026m=153875888916397\u0026w=2"
},
{
"type": "ADVISORY",
"url": "https://seclists.org/bugtraq/2019/Mar/30"
},
{
"type": "ADVISORY",
"url": "https://usn.ubuntu.com/3791-1/"
},
{
"type": "ADVISORY",
"url": "https://www.debian.org/security/2018/dsa-4311"
},
{
"type": "ADVISORY",
"url": "https://www.openwall.com/lists/oss-security/2018/10/06/3"
},
{
"type": "FIX",
"url": "https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404"
},
{
"type": "FIX",
"url": "https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46"
},
{
"type": "EVIDENCE",
"url": "https://www.exploit-db.com/exploits/45548/"
},
{
"type": "EVIDENCE",
"url": "https://www.exploit-db.com/exploits/45631/"
}
],
"schema_version": "1.7.3",
"severity": [
{
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"type": "CVSS_V3"
}
],
"upstream": [
"CVE-2018-17456"
]
}
Drag nodes to arrange them. Double-click a related vulnerability to open it, or a source to visit its link. The Physics button on the left tunes the layout and the simulation; the legend at the bottom left hides or shows nodes by kind and by sighting type.
Sightings
| Author | Source | Type | Date | Other |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or observed by the user.
- Confirmed: The vulnerability has been validated from an analyst's perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
- Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
- Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
- Not confirmed: The user expressed doubt about the validity of the vulnerability.
- Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.
Vulnerability timeline
Sightings and recorded dates, grouped by day · UTC
Loading timeline…
The approach is described in our paper Mapping CVEs to MITRE ATT&CK Techniques: A Curated Gold-Set Classifier and the Limits of LLM-Assisted Label Expansion.
Browse all ATT&CK techniques and the vulnerabilities related to each.
Related by attack behaviour
Vulnerabilities whose description is nearest to this one in the vector space of the CIRCL/vulnerability-attack-technique-biencoder model. This is a similarity search over the bi-encoder space (plain cosine), not a classification, and it has no measured accuracy.