First published: Tue Dec 10 2019(Updated: )
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.
Credit: cve@mitre.org
Affected Software | Affected Version | How to fix |
---|---|---|
Git-scm Git | <2.20.0 | |
Git-scm Git | >=2.21.0<2.21.1 | |
Git-scm Git | >=2.22.0<2.22.2 | |
Git-scm Git | >=2.23.0<2.23.1 | |
Git-scm Git | >=2.24.0<2.24.1 | |
Debian Debian Linux | =9.0 | |
Debian Debian Linux | =10.0 | |
Fedoraproject Fedora | =30 | |
Fedoraproject Fedora | =31 | |
openSUSE Leap | =15.1 | |
debian/git | 1:2.20.1-2+deb10u3 1:2.20.1-2+deb10u8 1:2.30.2-1+deb11u2 1:2.39.2-1.1 1:2.42.0-1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
CVE-2019-19604 is a vulnerability in Git that allows arbitrary command execution.
The severity of CVE-2019-19604 is critical with a CVSS score of 7.8.
CVE-2019-19604 allows a malicious repository to execute commands through a 'git submodule update' operation.
Git versions 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 are affected by CVE-2019-19604.
To mitigate CVE-2019-19604, update Git to version 2.20.2 or later.