Untrusted search path in Git for Windows - CVE-2022-41953
Published: January 17, 2023 / Updated: February 15, 2023
Vulnerability details
The vulnerability allows a remote attacker to compromise the affected system.
The vulnerability exists due to insecure implementation of the Git GUI's Clone function, which automatically searches and executes the aspell.exe file after cloning the repository. A remote attacker can trick the victim into cloning a malicious repository and execute arbitrary code on the system by including the malicious aspell.exe file into the repository.
Affected software
Visual Studio
openEuler
git-debuginfo
git-help
git-gui
perl-Git
gitk
git-svn
perl-Git-SVN
git-email
git-web
git-debugsource
git-daemon
git
How to mitigate CVE-2022-41953
Visual Studio - addressed in versions 15.9.52, 16.11.24 16.11.33328.57, 17.0.19 17.0.33402.176, 17.2.13 17.2.33402.178, 17.4.5 17.4.33403.182
git-debuginfo - update to 2.27.0-11
git-help - update to 2.27.0-11
git-gui - update to 2.27.0-11
perl-Git - update to 2.27.0-11
gitk - update to 2.27.0-11
git-svn - update to 2.27.0-11
perl-Git-SVN - update to 2.27.0-11
git-email - update to 2.27.0-11
git-web - update to 2.27.0-11
git-debugsource - update to 2.27.0-11
git-daemon - update to 2.27.0-11
git - update to 2.27.0-11