CVEfocus › CVE database › CVE-2019-19604

CVE-2019-19604

CVSS 7.8 HighEPSS 3.7% (higher than 90% of CVEs)Published 2019-12-10Updated 2024-08-05Assigner: mitre

Arbitrary command execution is possible in Git before 2.20.2, 2.21.x before 2.21.1, 2.22.x before 2.22.2, 2.23.x before 2.23.1, and 2.24.x before 2.24.1 because a "git submodule update" operation can run commands found in the .gitmodules file of a malicious repository.

What to do

Fixed builds are available from Alpine, Debian: see the table below for the fixed version per release.

Is your server affected? One read-only command checks every installed package against this CVE and all others, using each vendor's fixed versions. Get started or get a free API key.

curl -sS "https://api.cvefocus.com/v1/check?format=text" -H "Authorization: Bearer $CVEFOCUS_KEY" \
  -H "Content-Type: text/plain" --data-binary @inventory.txt

Vendor status at a glance

18Fixed
46Not affected

Status by vendor and release

From each vendor's own security data and VEX statements. "Fixed" means a fixed build is published for that release.

ReleasePackageStatusFixed versionAdvisory
Ubuntu 16.04gitNot affected
vulnerable_code_not_present
Debian 14gitFixed1:2.24.0-2DEBIAN-CVE-2019-19604
Debian 13gitFixed1:2.24.0-2DEBIAN-CVE-2019-19604
Debian 12gitFixed1:2.24.0-2DEBIAN-CVE-2019-19604
Red Hat Enterprise Linux 8gitNot affected
Red Hat Enterprise Linux 8git-allNot affected
Red Hat Enterprise Linux 8git-coreNot affected
Red Hat Enterprise Linux 8git-core-docNot affected
Red Hat Enterprise Linux 8git-credential-libsecretNot affected
Red Hat Enterprise Linux 8git-daemonNot affected
Red Hat Enterprise Linux 8git-emailNot affected
Red Hat Enterprise Linux 8git-guiNot affected
Red Hat Enterprise Linux 8git-instawebNot affected
Red Hat Enterprise Linux 8git-subtreeNot affected
Red Hat Enterprise Linux 8git-svnNot affected
Red Hat Enterprise Linux 8gitkNot affected
Red Hat Enterprise Linux 8gitwebNot affected
Red Hat Enterprise Linux 8perl-GitNot affected
Red Hat Enterprise Linux 8perl-Git-SVNNot affected
Red Hat Enterprise Linux 7emacs-gitNot affected
Red Hat Enterprise Linux 7emacs-git-elNot affected
Red Hat Enterprise Linux 7gitNot affected
Red Hat Enterprise Linux 7git-allNot affected
Red Hat Enterprise Linux 7git-bzrNot affected
Red Hat Enterprise Linux 7git-cvsNot affected
Red Hat Enterprise Linux 7git-daemonNot affected
Red Hat Enterprise Linux 7git-emailNot affected
Red Hat Enterprise Linux 7git-gnome-keyringNot affected
Red Hat Enterprise Linux 7git-guiNot affected
Red Hat Enterprise Linux 7git-hgNot affected
Red Hat Enterprise Linux 7git-instawebNot affected
Red Hat Enterprise Linux 7git-p4Not affected
Red Hat Enterprise Linux 7git-svnNot affected
Red Hat Enterprise Linux 7gitkNot affected
Red Hat Enterprise Linux 7gitwebNot affected
Red Hat Enterprise Linux 7perl-GitNot affected
Red Hat Enterprise Linux 7perl-Git-SVNNot affected
Red Hat Enterprise Linux 6emacs-gitNot affected
Red Hat Enterprise Linux 6emacs-git-elNot affected
Red Hat Enterprise Linux 6gitNot affected
Red Hat Enterprise Linux 6git-allNot affected
Red Hat Enterprise Linux 6git-cvsNot affected
Red Hat Enterprise Linux 6git-daemonNot affected
Red Hat Enterprise Linux 6git-emailNot affected
Red Hat Enterprise Linux 6git-guiNot affected
Red Hat Enterprise Linux 6git-svnNot affected
Red Hat Enterprise Linux 6gitkNot affected
Red Hat Enterprise Linux 6gitwebNot affected
Red Hat Enterprise Linux 6perl-GitNot affected
Alpine Linux 3.24gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.23gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.22gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.21gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.20gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.19gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.18gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.17gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.16gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.15gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.14gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.13gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.12gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.11gitFixed2.24.1-r0ALPINE-CVE-2019-19604
Alpine Linux 3.10gitFixed2.22.2-r0ALPINE-CVE-2019-19604

What the vendor says

As published in the CVE record by mitre, the CVE's assigner (usually the vendor). Check the vendor's advisory before acting.

Vendor advisories:

References

About this page

Compiled by CVEfocus from the CVE List, the security data and VEX statements of Ubuntu, Debian, Red Hat, AlmaLinux, Rocky Linux and Microsoft, CISA's Known Exploited Vulnerabilities catalog and FIRST EPSS, refreshed several times a day (data status). Information only; see the disclaimer. Official record: cve.org · NVD.