CVE-2018-17456
CRITICAL 9.8CVSS 3.0Git 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.
- Published
- 6 Oct 2018
- Last modified
- 17 Jun 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-88
- Sources
- NVDJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.0 | CRITICAL 9.8 | CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | HIGH 7.5 | AV:N/AC:L/Au:N/C:P/I:P/A:P |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | git-scm | gitcpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
>= 2.14.0, < 2.14.5 | 2.14.5 |
| NVD | git-scm | gitcpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
>= 2.15.0, < 2.15.3 | 2.15.3 |
| NVD | git-scm | gitcpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
>= 2.16.0, < 2.16.5 | 2.16.5 |
| NVD | git-scm | gitcpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
>= 2.17.0, < 2.17.2 | 2.17.2 |
| NVD | git-scm | gitcpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
>= 2.18.0, < 2.18.1 | 2.18.1 |
| NVD | git-scm | gitcpe:2.3:a:git-scm:git:*:*:*:*:*:*:*:* |
>= 2.19.0, < 2.19.1 | 2.19.1 |
| NVD | redhat | ansible_towercpe:2.3:a:redhat:ansible_tower:3.3:*:*:*:*:*:*:* |
= 3.3 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.0:*:*:*:*:*:*:* |
= 6.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:6.7:*:*:*:*:*:*:* |
= 6.7 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.3:*:*:*:*:*:*:* |
= 7.3 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.4:*:*:*:*:*:*:* |
= 7.4 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.5:*:*:*:*:*:*:* |
= 7.5 | |
| NVD | redhat | enterprise_linuxcpe:2.3:o:redhat:enterprise_linux:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_desktopcpe:2.3:o:redhat:enterprise_linux_desktop:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_servercpe:2.3:o:redhat:enterprise_linux_server:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | redhat | enterprise_linux_server_auscpe:2.3:o:redhat:enterprise_linux_server_aus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_euscpe:2.3:o:redhat:enterprise_linux_server_eus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_server_tuscpe:2.3:o:redhat:enterprise_linux_server_tus:7.6:*:*:*:*:*:*:* |
= 7.6 | |
| NVD | redhat | enterprise_linux_workstationcpe:2.3:o:redhat:enterprise_linux_workstation:7.0:*:*:*:*:*:*:* |
= 7.0 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:14.04:*:*:*:lts:*:*:* |
= 14.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:16.04:*:*:*:lts:*:*:* |
= 16.04 | |
| NVD | canonical | ubuntu_linuxcpe:2.3:o:canonical:ubuntu_linux:18.04:*:*:*:lts:*:*:* |
= 18.04 | |
| NVD | debian | debian_linuxcpe:2.3:o:debian:debian_linux:9.0:*:*:*:*:*:*:* |
= 9.0 |
References
- http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html
- http://packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.html · Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/105523 · Third Party Advisory, VDB Entry
- http://www.securityfocus.com/bid/107511 · Third Party Advisory, VDB Entry
- http://www.securitytracker.com/id/1041811 · Third Party Advisory, VDB Entry
- https://access.redhat.com/errata/RHSA-2018:3408 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3505 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2018:3541 · Third Party Advisory
- https://access.redhat.com/errata/RHSA-2020:0316
- https://github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404 · Patch, Third Party Advisory
- https://github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46 · Patch, Third Party Advisory
- https://marc.info/?l=git&m=153875888916397&w=2 · Third Party Advisory
- https://seclists.org/bugtraq/2019/Mar/30 · Mailing List, Third Party Advisory
- https://usn.ubuntu.com/3791-1/ · Third Party Advisory
- https://www.debian.org/security/2018/dsa-4311 · Third Party Advisory
- https://www.exploit-db.com/exploits/45548/ · Exploit, Third Party Advisory, VDB Entry
- https://www.exploit-db.com/exploits/45631/ · Exploit, Third Party Advisory, VDB Entry
- https://www.openwall.com/lists/oss-security/2018/10/06/3 · Mailing List, Third Party Advisory
History
- 25 Nov 2026 20:21 UTC · NVD: first stored (published 6 Oct 2018)