Skip to main content
No exploitation reportedFix available

CVE-2019-19604

No exploitation reported by the sources we read.

  • Published2019-12-11
  • Fixed in2.24.1 · 2.23.1 · 2.22.2 · 2.21.1 · 2.20.0
  • WeaknessCWE-78 · CWE-862

Am I affected?

With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.

Description

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.

Timeline

dates in UTC
  1. 2019-12-1100:15CVE publishedNVD

Versions per branch

NVD
Git-scm git
BranchAffectedFixed in
2.24≥ 2.24.0, < 2.24.12.24.1
2.23≥ 2.23.0, < 2.23.12.23.1
2.22≥ 2.22.0, < 2.22.22.22.2
2.21≥ 2.21.0, < 2.21.12.21.1
2.20< 2.20.02.20.0
Debian debian linux
BranchAffectedFixed in
9.0= 9.0no fix published
10.0= 10.0no fix published
Fedoraproject fedora
BranchAffectedFixed in
30.x= 30no fix published
31.x= 31no fix published

1 more product in the sources.

as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.

Distribution builds and vendor advisories

Packages from OSV.dev and products from the vendors' CSAF advisories.

version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.

Packages

  • gitSUSE:OpenStack Cloud 8all versions · fixed in 2.12.3-27.22.1
  • gitSUSE:OpenStack Cloud 7all versions · fixed in 2.12.3-27.22.1
  • gitSUSE:Linux Enterprise Software Development Kit 12 SP5all versions · fixed in 2.12.3-27.22.1
  • gitSUSE:Linux Enterprise Software Development Kit 12 SP4all versions · fixed in 2.12.3-27.22.1
  • gitSUSE:Linux Enterprise Server for SAP Applications 12 SP5all versions · fixed in 2.12.3-27.22.1
  • gitSUSE:Linux Enterprise Server for SAP Applications 12 SP4all versions · fixed in 2.12.3-27.22.1
  • gitSUSE:Linux Enterprise Server for SAP Applications 12 SP3all versions · fixed in 2.12.3-27.22.1
  • gitSUSE:Linux Enterprise Server for SAP Applications 12 SP2all versions · fixed in 2.12.3-27.22.1

45 more package ranges on OSV.dev

Vendor advisories

  • CVE-2019-19604 Red Hat Product Security

    git: Recursive clone followed by a submodule update could execute code contained within repository without the user explicitly consent

Full record on NVD

Fix

  1. Update Git-scm git to 2.24.1 · 2.23.1 · 2.22.2 · 2.21.1 · 2.20.0

Detection

Nuclei template
none so far
ProjectDiscovery
Exploit-DB
no entry
Exploit-DB
Proof of concept
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

Technical details

CVSS v3 vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Published
2019-12-11
Last modified
2026-06-17
NVD status
Modified
GitHub advisory
GHSA-4vp4-vvrc-wvhx

Frequently asked questions

What is CVE-2019-19604?

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.

Is CVE-2019-19604 actively exploited?

Active exploitation of CVE-2019-19604 has not been confirmed. Its EPSS score was 3.7% on 2026-12-04, the estimated probability of exploitation in the next 30 days.

What is the CVSS score for CVE-2019-19604?

CVE-2019-19604 has a CVSS v3 base score of 7.8 (High severity), with vector string CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H.

Running git? Hear about its next vulnerability

Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».

No credit card required · No monthly cap on website checks · 250 API requests/month

Sources for this record