CVE-2019-19604 Command injection in n/a

High 7.8 Published Updated

Attackers can execute arbitrary commands via malicious .gitmodules files during submodule updates, requiring users to upgrade Git.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Local or same network only
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2019-19604?

CVE-2019-19604 is a high-severity command injection vulnerability in Debian Debian Linux, published on 10 Dec 2019. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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.

Weakness: CWE-862, CWE-78

Which versions are affected by CVE-2019-19604?

It affects 4 products.

Products include Debian Debian Linux, Fedoraproject Fedora, Git-Scm Git, Opensuse Leap.

How do I fix CVE-2019-19604?

Upgrade to a fixed version.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2019-19604 being exploited?

There is no known exploitation of CVE-2019-19604 in the wild and no public exploit code.

All Debian Debian Linux vulnerabilities

Sources

Also known as ALPINE-CVE-2019-19604, CLEANSTART-2026-XD17499, DEBIAN-CVE-2019-19604, GHSA-4vp4-vvrc-wvhx.

Is CVE-2019-19604 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free