#VU89491 Arbitrary file upload in Git


Published: 2024-05-23 | Updated: 2024-08-30

Vulnerability identifier: #VU89491

Vulnerability risk: High

CVSSv3.1: 8.1 [CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H/E:P/RL:O/RC:C]

CVE-ID: CVE-2024-32002

CWE-ID: CWE-434

Exploitation vector: Network

Exploit availability: Yes

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

Vendor: Git

Description

The vulnerability allows a remote attacker to compromise vulnerable system.

The vulnerability exists due to insufficient validation of file during file upload. A remote attacker can upload a malicious file and execute it on the server.

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-8h77-4q3w-gfgv


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. However, proof of concept for this vulnerability is available.


Latest bulletins with this vulnerability