#VU75484 Link following in Git for Windows


Published: 2023-04-25

Vulnerability identifier: #VU75484

Vulnerability risk: Low

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

CVE-ID: CVE-2023-25652

CWE-ID: CWE-59

Exploitation vector: Local

Exploit availability: No

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

Vendor: Git for Windows

Description

The vulnerability allows a local user to escalate privileges on the system.

The vulnerability exists due to a symlink following issue in "git apply --reject". A local user can create a specially crafted symbolic link to write files outside of the worktree.

Mitigation
Install updates from vendor's website.

Vulnerable software versions

Git for Windows: 2.0.0 - 2.40.0.1


External links
http://github.com/git-for-windows/git/releases/tag/v2.39.3.windows.1
http://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1


Q & A

Can this vulnerability be exploited remotely?

No. This vulnerability can be exploited locally. The attacker should have authentication credentials and successfully authenticate on the system.

Is there known malware, which exploits this vulnerability?

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


Latest bulletins with this vulnerability