CWE
78 862
Advisory Published
Updated

CVE-2019-19604: OS Command Injection

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 SoftwareAffected VersionHow 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

Never miss a vulnerability like this again

Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.

Reference Links

Frequently Asked Questions

  • What is CVE-2019-19604?

    CVE-2019-19604 is a vulnerability in Git that allows arbitrary command execution.

  • What is the severity of CVE-2019-19604?

    The severity of CVE-2019-19604 is critical with a CVSS score of 7.8.

  • How does CVE-2019-19604 work?

    CVE-2019-19604 allows a malicious repository to execute commands through a 'git submodule update' operation.

  • What versions of Git are affected by CVE-2019-19604?

    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.

  • How can I mitigate CVE-2019-19604?

    To mitigate CVE-2019-19604, update Git to version 2.20.2 or later.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2024 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203