Skip to content
Fencer Vulns
critical 9.8

CVE-2018-17456 in the critical feed json

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…

published 2018-10-06 8 y ago modified 2026-06-17 4 mo ago also EUVD-2018-9209

cvss
9.8
version 3.0, NVD
cisa kev
Not listed
not in CISA's catalog
epss
97.4%
EPSS 97.4% chance of exploitation in 30 days, percentile 99.8%
public exploits
3
Metasploit, Exploit-DB

Summary

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.

Patch / fix

  • git-scm git 2.14.5, 2.15.3, 2.16.5, 2.17.2, 2.18.1, 2.19.1
  • git Debian 14, Debian 13, Debian 12 1:2.19.1-1

debian advisories DEBIAN-CVE-2018-17456

  • git Ubuntu 14.04 LTS 1:1.9.1-1ubuntu0.9
  • git Ubuntu 16.04 LTS 1:2.7.4-0ubuntu1.5
  • git Ubuntu 18.04 LTS 1:2.17.1-1ubuntu0.3

ubuntu advisories UBUNTU-CVE-2018-17456

Ubuntu security data © Canonical Ltd., from https://github.com/canonical/ubuntu-security-notices via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • git RHEL 6 1.7.1-10.el6_10
  • gitk RHEL 6 1.7.1-10.el6_10
  • gitweb RHEL 6 1.7.1-10.el6_10
  • git-all RHEL 6 1.7.1-10.el6_10
  • git-cvs RHEL 6 1.7.1-10.el6_10
  • git-gui RHEL 6 1.7.1-10.el6_10
  • git-svn RHEL 6 1.7.1-10.el6_10
  • perl-Git RHEL 6 1.7.1-10.el6_10

red hat advisories RHSA-2020:0316RHSA-2018:3408RHSA-2018:3541

  • git SLE Module for Development Tools 15 SP1, SLE Module for Basesystem 15 SP1 2.26.1-3.25.2
  • git SLES 12 SP4, SLES 12 SP3, SLES 12 SP2-BCL +13 more 2.12.3-27.17.2
  • libgit2 SLE Module for Development Tools 15 0.26.8-3.8.1
  • git SLE Module for Development Tools 15, SLE Module for Basesystem 15 2.16.4-3.6.1

suse advisories SUSE-SU-2020:1121-1SUSE-SU-2018:4088-3SUSE-SU-2018:4088-2SUSE-SU-2018:4088-1SUSE-SU-2018:4009-1SUSE-SU-2018:3150-1

  • git openSUSE Tumbleweed 2.33.0-1.3
  • libgit2 openSUSE Tumbleweed 1.1.1-1.2
  • git openSUSE Leap 15.1 2.26.1-lp151.4.9.1

opensuse advisories openSUSE-SU-2024:10786-1openSUSE-SU-2024:10943-1openSUSE-SU-2020:0598-1

  • git Alpine 3.24, Alpine 3.23, Alpine 3.22 +13 more 2.19.1-r0
  • git Alpine 3.5 2.11.3-r2
  • git Alpine 3.6 2.13.7-r1
  • git Alpine 3.7 2.15.3-r0
  • git Alpine 3.8 2.18.1-r0

alpine advisories ALPINE-CVE-2018-17456

Alpine secdb © Alpine Linux, from https://secdb.alpinelinux.org via OSV; changed: normalised to fixed package versions per release. CC BY-SA 4.0

  • git Arch Linux 2.19.1-1

arch linux advisories AVG-776

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2018-17456 updated cvss 8.8

git: arbitrary code execution via .gitmodules

  • Red Hat Fuse 7 camel Red Hat JBoss Fuse 6 camel Red Hat JBoss Fuse Integration Service 2 camel
    affected: no fix available
  • Red Hat Enterprise Linux Client Optional (v. 7) git 1.8.3.1-20.el7, gitk 1.8.3.1-20.el7, git-hg 1.8.3.1-20.el7, git-p4 1.8.3.1-20.el7, gitweb 1.8.3.1-20.el7, git-all 1.8.3.1-20.el7, +12 more Red Hat Enterprise Linux ComputeNode Optional (v. 7) git 1.8.3.1-20.el7, gitk 1.8.3.1-20.el7, git-hg 1.8.3.1-20.el7, git-p4 1.8.3.1-20.el7, gitweb 1.8.3.1-20.el7, git-all 1.8.3.1-20.el7, +12 more
    fixed: vendor fix RHSA-2018:3408
  • Red Hat Enterprise Linux Desktop Optional (v. 6) git 1.7.1-10.el6_10, gitk 1.7.1-10.el6_10, gitweb 1.7.1-10.el6_10, git-all 1.7.1-10.el6_10, git-cvs 1.7.1-10.el6_10, git-gui 1.7.1-10.el6_10, +6 more
    fixed: vendor fix RHSA-2020:0316
  • Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server (v. 7) git 1.8.3.1-20.el7, perl-Git 1.8.3.1-20.el7 Red Hat Enterprise Linux for ARM and IBM Power LE (POWER9) Server Optional (v. 7) gitk 1.8.3.1-20.el7, git-hg 1.8.3.1-20.el7, git-p4 1.8.3.1-20.el7, gitweb 1.8.3.1-20.el7, git-all 1.8.3.1-20.el7, git-bzr 1.8.3.1-20.el7, +10 more
    fixed: vendor fix RHSA-2018:3408
  • Red Hat Enterprise Linux HPC Node Optional (v. 6) git 1.7.1-10.el6_10, gitk 1.7.1-10.el6_10, gitweb 1.7.1-10.el6_10, git-all 1.7.1-10.el6_10, git-cvs 1.7.1-10.el6_10, git-gui 1.7.1-10.el6_10, +6 more Red Hat Enterprise Linux Server (v. 6) git 1.7.1-10.el6_10, perl-Git 1.7.1-10.el6_10
    fixed: vendor fix RHSA-2020:0316
  • Red Hat Enterprise Linux Server (v. 7) git 1.8.3.1-20.el7, perl-Git 1.8.3.1-20.el7
    fixed: vendor fix RHSA-2018:3408
  • Red Hat Enterprise Linux Server Optional (v. 6) gitk 1.7.1-10.el6_10, gitweb 1.7.1-10.el6_10, git-all 1.7.1-10.el6_10, git-cvs 1.7.1-10.el6_10, git-gui 1.7.1-10.el6_10, git-svn 1.7.1-10.el6_10, +4 more
    fixed: vendor fix RHSA-2020:0316
  • Red Hat Enterprise Linux Server Optional (v. 7) gitk 1.8.3.1-20.el7, git-hg 1.8.3.1-20.el7, git-p4 1.8.3.1-20.el7, gitweb 1.8.3.1-20.el7, git-all 1.8.3.1-20.el7, git-bzr 1.8.3.1-20.el7, +10 more
    fixed: vendor fix RHSA-2018:3408
show 6 more
  • Red Hat Enterprise Linux Workstation (v. 6) git 1.7.1-10.el6_10, perl-Git 1.7.1-10.el6_10
    fixed: vendor fix RHSA-2020:0316
  • Red Hat Enterprise Linux Workstation (v. 7) git 1.8.3.1-20.el7, perl-Git 1.8.3.1-20.el7
    fixed: vendor fix RHSA-2018:3408
  • Red Hat Enterprise Linux Workstation Optional (v. 6) gitk 1.7.1-10.el6_10, gitweb 1.7.1-10.el6_10, git-all 1.7.1-10.el6_10, git-cvs 1.7.1-10.el6_10, git-gui 1.7.1-10.el6_10, git-svn 1.7.1-10.el6_10, +4 more
    fixed: vendor fix RHSA-2020:0316
  • Red Hat Enterprise Linux Workstation Optional (v. 7) gitk 1.8.3.1-20.el7, git-hg 1.8.3.1-20.el7, git-p4 1.8.3.1-20.el7, gitweb 1.8.3.1-20.el7, git-all 1.8.3.1-20.el7, git-bzr 1.8.3.1-20.el7, +10 more
    fixed: vendor fix RHSA-2018:3408
  • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 6) rh-git29-git 2.9.3-7.el6, rh-git29-gitk 2.9.3-7.el6, rh-git29-git-p4 2.9.3-7.el6, rh-git29-gitweb 2.9.3-7.el6, rh-git29-git-all 2.9.3-7.el6, rh-git29-git-cvs 2.9.3-7.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-git29-git 2.9.3-8.el7, rh-git29-gitk 2.9.3-8.el7, rh-git29-git-p4 2.9.3-8.el7, rh-git29-gitweb 2.9.3-8.el7, rh-git29-git-all 2.9.3-8.el7, rh-git29-git-cvs 2.9.3-8.el7, +7 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 6.7) rh-git29-git 2.9.3-7.el6, rh-git29-gitk 2.9.3-7.el6, rh-git29-git-p4 2.9.3-7.el6, rh-git29-gitweb 2.9.3-7.el6, rh-git29-git-all 2.9.3-7.el6, rh-git29-git-cvs 2.9.3-7.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.3) rh-git29-git 2.9.3-8.el7, rh-git29-gitk 2.9.3-8.el7, rh-git29-git-p4 2.9.3-8.el7, rh-git29-gitweb 2.9.3-8.el7, rh-git29-git-all 2.9.3-8.el7, rh-git29-git-cvs 2.9.3-8.el7, +7 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.4) rh-git29-git 2.9.3-6.el7, rh-git29-gitk 2.9.3-6.el7, rh-git29-git-p4 2.9.3-6.el7, rh-git29-gitweb 2.9.3-6.el7, rh-git29-git-all 2.9.3-6.el7, rh-git29-git-cvs 2.9.3-6.el7, +7 more Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.5) rh-git29-git 2.9.3-6.el7, rh-git29-git 2.9.3-8.el7, rh-git29-gitk 2.9.3-6.el7, rh-git29-gitk 2.9.3-8.el7, rh-git29-git-p4 2.9.3-6.el7, rh-git29-git-p4 2.9.3-8.el7, +20 more
    +2 more products
    Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 6) rh-git29-git 2.9.3-7.el6, rh-git29-gitk 2.9.3-7.el6, rh-git29-git-p4 2.9.3-7.el6, rh-git29-gitweb 2.9.3-7.el6, rh-git29-git-all 2.9.3-7.el6, rh-git29-git-cvs 2.9.3-7.el6, +9 more Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-git29-git 2.9.3-8.el7, rh-git29-gitk 2.9.3-8.el7, rh-git29-git-p4 2.9.3-8.el7, rh-git29-gitweb 2.9.3-8.el7, rh-git29-git-all 2.9.3-8.el7, rh-git29-git-cvs 2.9.3-8.el7, +7 more
    fixed: vendor fix RHSA-2018:3541
  • Red Hat Enterprise Linux 8 git, gitk, gitweb, git-all, git-gui, git-svn, +8 more Red Hat Mobile Application Platform 4 fh-scm Red Hat Software Collections rh-git218-git, rh-git218-gitk, rh-git218-git-p4, rh-git218-gitweb, rh-git218-git-all, rh-git218-git-cvs, +9 more
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

Timeline

  1. First public exploit (Metasploit exploit/multi/http/git_submodule_url_exec)
  2. Published

Exploit prediction

97.36% chance of exploitation in the next 30 days, higher than 99.8% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

CVSS scores

assigned by version score vector
NVD 3.0 9.8 CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
NVD 2.0 7.5 AV:N/AC:L/Au:N/C:P/I:P/A:P

Classification

Weakness
  • CWE-88 Improper Neutralization of Argument Delimiters in a Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.