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?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « 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- 2019-12-1100:15CVE publishedNVD
Versions per branch
NVD| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 2.24 | ≥ 2.24.0, < 2.24.1 | 2.24.1 | NVD |
| 2.23 | ≥ 2.23.0, < 2.23.1 | 2.23.1 | NVD |
| 2.22 | ≥ 2.22.0, < 2.22.2 | 2.22.2 | NVD |
| 2.21 | ≥ 2.21.0, < 2.21.1 | 2.21.1 | NVD |
| 2.20 | < 2.20.0 | 2.20.0 | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 9.0 | = 9.0 | no fix published | NVD |
| 10.0 | = 10.0 | no fix published | NVD |
| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 30.x | = 30 | no fix published | NVD |
| 31.x | = 31 | no fix published | NVD |
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
Fix
- 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
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVSS 3.17.8read 2026-10-23
- NVDCVSS 2.09.3read 2026-10-23
- NVDweakness (CWE)CWE-78, CWE-862read 2026-10-23
- FIRST EPSSEPSS score3.7 %2026-12-04
- OSVaffected packages—
- GitHub Advisoriesadvisory—
Identifiers
- EUVD-2019-9219same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-4vp4-vvrc-wvhxsame flawGitHub Advisory Database · CC-BY-4.0
- MGASA-2019-0393advisory covering several CVEsMageia · LicenseRef-unstated
- openSUSE-SU-2020:0123-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2020:0598-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- openSUSE-SU-2024:10786-1advisory covering several CVEsopenSUSE · LicenseRef-unstated
- SUSE-SU-2019:3311-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:0045-1advisory covering several CVEsSUSE · LicenseRef-unstated
- SUSE-SU-2020:1121-1advisory covering several CVEsSUSE · LicenseRef-unstated
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?
Is CVE-2019-19604 actively exploited?
What is the CVSS score for CVE-2019-19604?
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
Go further
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-4vp4-vvrc-wvhx
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0