#VU102871 Improper Encoding or Escaping of Output in Git for Windows - CVE-2024-52005


Vulnerability identifier: #VU102871

Vulnerability risk: Medium

CVSSv4.0: 4.8 [CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:U/U:Green]

CVE-ID: CVE-2024-52005

CWE-ID: CWE-116

Exploitation vector: Network

Exploit availability: No

Vulnerable software:
Git for Windows
Other software / Other software solutions

Vendor: Git for Windows

Description

The vulnerability allows a remote attacker to compromise the affected system.

The vulnerability exists due to improper input validation when handling ANSI escape sequences in messages  passed via sideband channel. A remote attacker can pass specially crafted messages to the terminal and potentially execute untrusted scripts.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Git for Windows: 2.40.0 - 2.48.0


External links
https://github.com/git/git/security/advisories/GHSA-7jjc-gg6m-3329


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