#VU91288 Code injection in Git


Published: 2024-06-07

Vulnerability identifier: #VU91288

Vulnerability risk: High

CVSSv3.1: 7.7 [CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H/E:U/RL:O/RC:C]

CVE-ID: CVE-2024-32465

CWE-ID: CWE-94

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 code on the target system.

The vulnerability exists due to improper input validation when working with zip files or tarballs during cloning. A remote attacker can and execute arbitrary code on the target system.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Git: 2.45.0 - 2.45.1, 2.44.0 - 2.44.1, 2.43.0 - 2.43.4, 2.42.0 - 2.42.2, 2.41.0 - 2.41.1, 2.40.0 - 2.40.2, 2.39.0 - 2.39.4, 2.30.0 - 2.30.9, 2.3.0 - 2.38.5, 2.37.0 - 2.37.7, 2.36.0 - 2.36.6, 2.35.0 - 2.35.8, 2.34.0 - 2.34.8, 2.33.0 - 2.33.8, 2.32.0 - 2.32.7, 2.31.0 - 2.31.8, 2.21.0 - 2.21.4, 2.22.0 - 2.22.5, 2.23.0 - 2.23.4, 2.24.0 - 2.24.4, 2.25.0 - 2.25.5, 2.26.0 - 2.26.3, 2.27.0 - 2.27.1, 2.28.0 - 2.28.1, 2.29.0 - 2.29.3, 2.17 - 2.17.5, 2.18.0 - 2.18.4, 2.19.0 - 2.19.5, 2.20.0 - 2.20.4, 2.16.0 - 2.16.6, 2.15.0 - 2.15.4, 2.14 - 2.14.6, 2.13 - 2.13.7, 2.2.0 - 2.2.12, 2.12 - 2.12.5, 2.11 - 2.11.4, 2.10 - 2.10.5, 2.9 - 2.9.5, 2.8 - 2.8.6, 2.7 - 2.7.6, 2.6 - 2.6.7, 2.5 - 2.5.6, 2.4 - 2.4.12, 2.1.0 - 2.1.4, 2.0.0 - 2.0.5


External links
http://github.com/git/git/security/advisories/GHSA-vm9j-46j9-qvq4
http://github.com/git/git/commit/7b70e9efb18c2cc3f219af399bd384c5801ba1d7


Q & A

Can this vulnerability be exploited remotely?

Yes. This vulnerability can be exploited by a remote non-authenticated attacker via the Internet.

Is there known malware, which exploits this vulnerability?

No. We are not aware of malware exploiting this vulnerability.


Latest bulletins with this vulnerability