cve.bz

CVE-2019-19604 OS Command Injection

7.8 highExploit referenceEPSS 3.7%

High (7.8). EPSS 3.7% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
3.7% (unchanged from 3.7% a week ago; 3.7% 30 days ago) estimated probability of exploitation activity in the next 30 days; 90th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWEs
CWE-78 Improper Neutralization of Special Elements used in an OS Command (OS Command Injection)
CWE-862 Missing Authorization
OWASP Top 10
A01:2025 Broken Access Control, A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2019-19604 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2019-19604?via=ask-ai-copy and https://cve.bz/cve/CVE-2019-19604?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2019-19604 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
git-scm:gitbefore 2.20.0
git-scm:gitfrom 2.21.0 before 2.21.1
git-scm:gitfrom 2.22.0 before 2.22.2
git-scm:gitfrom 2.23.0 before 2.23.1
git-scm:gitfrom 2.24.0 before 2.24.1
debian:debian_linux9.0
debian:debian_linux10.0
fedoraproject:fedora30
fedoraproject:fedora31
opensuse:leap15.1

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian12, 13, 14git1:2.24.0-2DEBIAN-CVE-2019-19604
SUSEEnterprise Storage 5, HPE Helion OpenStack 8, Linux Enterprise Server 12 SP1-LTSS and 14 moregit2.12.3-27.22.1SUSE-SU-2019:3311-1
SUSELinux Enterprise Module for Basesystem 15, Linux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Development Tools 15 and 1 moregit2.16.4-3.17.2SUSE-SU-2020:0045-1
SUSELinux Enterprise Module for Basesystem 15 SP1, Linux Enterprise Module for Development Tools 15 SP1git2.26.1-3.25.2SUSE-SU-2020:1121-1
SUSELinux Enterprise Module for Development Tools 15, Linux Enterprise Module for Development Tools 15 SP1perl-Authen-SASL2.16-1.3.1SUSE-SU-2020:0045-1
SUSELinux Enterprise Module for Development Tools 15, Linux Enterprise Module for Development Tools 15 SP1perl-Net-SMTP-SSL1.04-1.3.1SUSE-SU-2020:0045-1
openSUSELeap 15.1git2.16.4-lp151.4.3.1openSUSE-SU-2020:0123-1
openSUSELeap 15.1git2.26.1-lp151.4.9.1openSUSE-SU-2020:0598-1
openSUSELeap 15.1perl-Authen-SASL2.16-lp151.3.3.1openSUSE-SU-2020:0123-1
openSUSELeap 15.1perl-Net-SMTP-SSL1.04-lp151.3.3.1openSUSE-SU-2020:0123-1
openSUSETumbleweedgit2.33.0-1.3openSUSE-SU-2024:10786-1
Alpinev3.10git2.22.2-r0ALPINE-CVE-2019-19604
Alpinev3.11, v3.12, v3.13 and 11 moregit2.24.1-r0ALPINE-CVE-2019-19604

From the distributions' data via OSV.dev: the Debian Security Tracker; SUSE security data, CC BY 4.0; the Alpine secdb, CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · SUSE · openSUSE · Alpine.

Red Hat

Red Hat rates this Moderate.

Red Hat's statement

This issue did not affect the versions of git as shipped with Red Hat Enterprise Linux 6, and 7 as they did not support custom commands as a valid update setting for submodules.

This issue did not affect the versions of git as shipped with Red Hat Enterprise Linux 8 as they did no re-read the update setting from the .gitmodules file after the initialization of the submodules.

ProductPackageStateAdvisory
Red Hat Enterprise Linux 6gitNot affected
Red Hat Enterprise Linux 7gitNot affected
Red Hat Enterprise Linux 8gitNot affected
Red Hat Fuse 7camel-gitNot affected
Red Hat JBoss Fuse 6camel-gitNot affected
Red Hat OpenShift Container Platform 3.11jenkins-2-pluginsNot affected
Red Hat OpenShift Container Platform 4jenkins-2-pluginsNot affected
Red Hat Software Collectionsrh-git218-gitNot affected

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2019-19604.

Attack patterns (CAPEC)

  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High
  • CAPEC-6 Argument Injection Likelihood: High · Severity: High
  • CAPEC-15 Command Delimiters Likelihood: High · Severity: High
  • CAPEC-43 Exploiting Multiple Input Interpretation Layers Likelihood: Medium · Severity: High
  • CAPEC-88 OS Command Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON