{"schemaVersion":3,"id":"CVE-2019-19604","aliases":["ALPINE-CVE-2019-19604","DEBIAN-CVE-2019-19604"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2019-12-10T23:33:06.000Z","modified":"2024-08-05T02:25:11.529Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":9.3,"severity":"high","version":"2.0","versionLabel":"v2.0","source":"NVD","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Alpine","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":4.6,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.8,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":9.3,"severity":"high","vector":"AV:N/AC:M/Au:N/C:C/I:C/A:C","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.03707,"percentile":0.89609,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.016000000000000042,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.03691},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03707,"percentile":0.89609}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.03691,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.03707,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.03707,"percentile":0.89609}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_ACA6E9606E800E75","name":"Exploit Reference (gitlab.com)","source":"reference","url":"https://gitlab.com/gitlab-com/gl-security/disclosures/blob/master/003_git_submodule/advisory.md","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-78","name":"Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')","description":"The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/78.html"},{"id":"CWE-862","name":"Missing Authorization","description":"The product does not perform an authorization check when an actor attempts to access a resource or perform an action.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/862.html"}],"affected":[{"vendor":"alpine","product":"git","name":"git","label":"git","ecosystem":"Alpine Linux","cpePart":null,"purl":"pkg:apk/alpine/git","purlType":"apk","versions":[{"text":"≥ 2.21.0, < 2.22.2-r0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.21.0, < 2.24.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"≥ 2.21.0, < 2.22.2-r0 | ≥ 2.21.0, < 2.24.1-r0","eol":null,"hubHref":null},{"vendor":"debian","product":"git","name":"git","label":"git","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/git","purlType":"deb","versions":[{"text":"< 1:2.24.0-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1:2.24.0-2","eol":null,"hubHref":null},{"vendor":"debian","product":"debian_linux","name":"debian linux","label":"debian_linux","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"9.0","noFixRecorded":false,"fixedIn":null},{"text":"10.0","noFixRecorded":false,"fixedIn":null}],"versionsText":"9.0 | 10.0","eol":{"isEol":true,"eolDate":"2022-07-01T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"9","label":"9 (Stretch)","eolFrom":"2022-07-01T00:00:00.000Z","isLts":false,"isMaintained":true,"latestVersion":"9.13"},"product":{"name":"debian","label":"Debian","category":"os"}},"hubHref":"/vendor/debian/debian_linux"},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"30","noFixRecorded":false,"fixedIn":null},{"text":"31","noFixRecorded":false,"fixedIn":null}],"versionsText":"30 | 31","eol":{"isEol":true,"eolDate":"2020-05-26T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"30","label":"30","eolFrom":"2020-05-26T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"git-scm","product":"git","name":"git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.20.0","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.21.0, < 2.21.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.22.0, < 2.22.2","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.23.0, < 2.23.1","noFixRecorded":false,"fixedIn":null},{"text":"≥ 2.24.0, < 2.24.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.20.0 | ≥ 2.21.0, < 2.21.1 | ≥ 2.22.0, < 2.22.2 | ≥ 2.23.0, < 2.23.1 | ≥ 2.24.0, < 2.24.1","eol":null,"hubHref":"/vendor/git-scm/git"},{"vendor":"opensuse","product":"leap","name":"leap","label":"leap","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"15.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"15.1","eol":{"isEol":true,"eolDate":"2021-02-02T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"15.1","label":"Leap 15.1","eolFrom":"2021-02-02T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"opensuse","label":"openSUSE","category":"os"}},"hubHref":"/vendor/opensuse/leap"}],"affectedCount":6,"eol":{"hasEol":true,"count":3},"references":[{"url":"https://gitlab.com/gitlab-com/gl-security/disclosures/blob/master/003_git_submodule/advisory.md","label":"gitlab.com/gitlab-com/gl-security/disclosures/blob/master/003_git_submodule/advisory.md","hostname":"gitlab.com","tags":["X Refsource MISC","Exploit","Third Party Advisory"]},{"url":"https://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.24.1.txt","label":"raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.24.1.txt","hostname":"raw.githubusercontent.com","tags":["X Refsource CONFIRM","Third Party Advisory"]},{"url":"https://public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/","label":"public-inbox.org/git/xmqqr21cqcn9.fsf%40gitster-ct.c.googlers.com/","hostname":"public-inbox.org","tags":["X Refsource CONFIRM"]},{"url":"https://www.debian.org/security/2019/dsa-4581","label":"www.debian.org/security/2019/dsa-4581","hostname":"www.debian.org","tags":["Vendor Advisory","X Refsource DEBIAN","Third Party Advisory"]},{"url":"http://www.openwall.com/lists/oss-security/2019/12/13/1","label":"www.openwall.com/lists/oss-security/2019/12/13/1","hostname":"www.openwall.com","tags":["Mailing List","X Refsource MLIST","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HCYSSCA5ZTEP46SB4XRPSQGFV2L3NKMZ/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/N6UGTEOXWIYSM5KDZL74QD2GK6YQNQCP/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html","label":"lists.opensuse.org/opensuse-security-announce/2020-01/msg00056.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://security.gentoo.org/glsa/202003-30","label":"security.gentoo.org/glsa/202003-30","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"http://lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html","label":"lists.opensuse.org/opensuse-security-announce/2020-05/msg00003.html","hostname":"lists.opensuse.org","tags":["Vendor Advisory","X Refsource SUSE","Mailing List","Third Party Advisory"]},{"url":"https://security.alpinelinux.org/vuln/CVE-2019-19604","label":"security.alpinelinux.org/vuln/CVE-2019-19604","hostname":"security.alpinelinux.org","tags":["Advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2019-19604","label":"security-tracker.debian.org/tracker/CVE-2019-19604","hostname":"security-tracker.debian.org","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":["MGASA-2019-0393","OPENSUSE-SU-2020:0123-1","OPENSUSE-SU-2020:0598-1","OPENSUSE-SU-2024:10786-1","SUSE-SU-2019:3311-1","SUSE-SU-2020:0045-1","SUSE-SU-2020:1121-1"],"duplicates":[],"related":["OPENSUSE-SU-2020:0123-1","OPENSUSE-SU-2020:0598-1","OPENSUSE-SU-2024:10786-1","SUSE-SU-2019:3311-1","SUSE-SU-2020:0045-1","SUSE-SU-2020:1121-1"]},"timeline":[{"kind":"published","date":"2019-12-10T23:33:06.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-05T02:25:11.529Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":70,"level":"high","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T13:24:43.265Z","stale":false,"partial":false}}