Link following in Git for Windows - CVE-2023-25652

 

Link following in Git for Windows - CVE-2023-25652

Published: April 25, 2023


Vulnerability identifier: #VU75484
CSH Severity: Low
CVSS v4.0: CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N/E:U/U:Clear
CVE-ID: CVE-2023-25652
CWE-ID: CWE-59
Exploitation vector: Local access
Exploit availability: No public exploit available
Vendor: Git for Windows
Affected software:
Git for Windows

Detailed vulnerability 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.


How to mitigate CVE-2023-25652

Install updates from vendor's website.

Sources