#VU23556 OS Command Injection in Git


Published: 2019-12-12

Vulnerability identifier: #VU23556

Vulnerability risk: High

CVSSv3.1:

CVE-ID: CVE-2019-19604

CWE-ID: CWE-78

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Git
Client/Desktop applications / Software for system administration

Vendor: Git

Description

The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to a "git submodule update" operation can run commands found in the ".gitmodules" file of a malicious repository. A remote unauthenticated attacker can execute arbitrary OS commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Git: 2.20.0 - 2.20.1, 2.21.0, 2.22.0 - 2.22.1, 2.23.0, 2.24.0


CPE

External links
http://gitlab.com/gitlab-com/gl-security/disclosures/blob/master/003_git_submodule/advisory.md
http://public-inbox.org/git/xmqqr21cqcn9.fsf@gitster-ct.c.googlers.com/
http://raw.githubusercontent.com/git/git/master/Documentation/RelNotes/2.24.1.txt
http://www.debian.org/security/2019/dsa-4581


Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?


Latest bulletins with this vulnerability