CVE-2018-17456: canonical ubuntu_linux Argument Injection
Vulnerability summary
CVE-2018-17456 is a critical (CVSS 9.8) Argument Injection vulnerability in canonical ubuntu_linux. EPSS estimates a 97.36% chance of exploitation in the next 30 days, higher than 99.9% of scored vulnerabilities. 3 public exploits are recorded.
Advisory lineage
Upstream 0 · Downstream 4 · Related 4Timeline
- 06-10-2018PublishedVulnerability first disclosed.
- 05-08-2024Last modifiedVulnerability information updated.
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.
CVSS metrics
6 scores · 5 sources · 2 versions- OSV · AlpineEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · Red hatEcosystem advisory · calculated8.8HighCVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:HDiffers
- OSV · UbuntuEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- OSV · DebianEcosystem advisory · calculated9.8CriticalCVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS trend
Probability
97.36%
Chance of exploitation in the next 30 days
Percentile
100%
Versus all other CVEs
30-day change
0.00 pp
From 97.36% on 18-09-2026
Known exploited
Compare KEV catalogsNot in any of the 3 tracked catalogs.
Public exploits
3 foundGit Submodule - Arbitrary Code Execution
Maturity: poc
Git Submodule - Arbitrary Code Execution (PoC)
Maturity: poc
Malicious Git HTTP Server For CVE-2018-17456
exploit/multi/http/git_submodule_url_exec
Maturity: weaponized
Weaknesses
CWE · root causeAffected systems
Redhat44 products
- ansible_tower3.3
- enterprise_linuxEOL6.0 | 6.7 | 7.0 | 7.3 | 7.4 | 7.5 | 7.6
- enterprise_linux_desktop7.0
- enterprise_linux_server7.0
- enterprise_linux_server_aus7.6
Suse19 products
- git&distro=HPE Helion OpenStack 8< 2.12.3-27.17.2
- git&distro=SUSE Enterprise Storage 4< 2.12.3-27.17.2
- git&distro=SUSE Linux Enterprise Module for Basesystem 15< 2.16.4-3.6.1
- git&distro=SUSE Linux Enterprise Module for Development Tools 15< 2.16.4-3.6.1
- git&distro=SUSE Linux Enterprise Server 12 SP1-LTSS< 2.12.3-27.17.2
Debian2 products
- git< 1:2.19.1-1 | < 1:2.11.0-3+deb9u4 | < 1:2.1.4-2.1+deb8u7
- debian_linuxEOL9.0
Alpine1 product
- git≥ 2.14.0, < 2.19.1-r0 | ≥ 2.14.0, < 2.11.3-r2 | ≥ 2.14.0, < 2.13.7-r1 | ≥ 2.14.0, < 2.15.3-r0 | ≥ 2.14.0, < 2.18.1-r0
Canonical1 product
- ubuntu_linuxEOL14.04 | 16.04 | 18.04
Git-scm1 product
- git≥ 2.14.0, < 2.14.5 | ≥ 2.15.0, < 2.15.3 | ≥ 2.16.0, < 2.16.5 | ≥ 2.17.0, < 2.17.2 | ≥ 2.18.0, < 2.18.1 | ≥ 2.19.0, < 2.19.1
Mageia1 product
- git< 2.13.7-1.2.mga6
Ubuntu1 product
- git< 1:1.9.1-1ubuntu0.9 | < 1:2.7.4-0ubuntu1.5 | < 1:2.17.1-1ubuntu0.3
8 vendors · 70 products
References
41 links- github.com/git/git/commit/1a7fd1fb2998002da6e9ff2ee46e1bdd25ee8404X Refsource MISCPatchThird Party Advisory
- access.redhat.com/errata/RHSA-2018:3541Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
- github.com/git/git/commit/a124133e1e6ab5c7a9fef6d0e6bcb084e3455b46X Refsource MISCPatchThird Party Advisory
- access.redhat.com/errata/RHSA-2018:3408Vendor AdvisoryX Refsource REDHATThird Party AdvisoryAdvisory
Show all 41 references
- packetstormsecurity.com/files/152173/Sourcetree-Git-Arbitrary-Code-Execution-URL-Handling.htmlX Refsource MISCThird Party AdvisoryVDB Entry