J6t git-gui
Git GUI malicious command injection on Windows
Git GUI allows you to use the Git source control management tools via a GUI. A malicious repository can ship versions of sh.exe or typical textconv filter programs such as astextplain. Due to the unfortunate design of Tcl on Windows, the search path when looking for an executable always includes the current directory. The mentioned programs are invoked when the user selects Git Bash or Browse Files from the menu. This vulnerability is fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, and 2.50.1.
Affected versions and mitigation
From the CVE record and the vendor's references.Affected
- < 2.43.7
- >= 2.44.0, < 2.44.4
- >= 2.45.0, < 2.45.4
- >= 2.46.0, < 2.46.4
- >= 2.47.0, < 2.47.3
- >= 2.48.0, < 2.48.2
- >= 2.49.0, < 2.49.1
- >= 2.50.0, < 2.50.1
Fixed in 2.43.7, 2.44.4, 2.45.4, 2.46.4, 2.47.3, 2.48.2, 2.49.1, 2.50.1
Mitigation
Upgrade git-gui to 2.43.7 or 2.44.4 or 2.45.4 or 2.46.4 or 2.47.3 or 2.48.2 or 2.49.1 or 2.50.1 or later.
References
- Vendor advisory github.com/j6t/git-gui/security/advisories/GHS…
Timeline
Days relative to CVE publicationNo public PoC found yet; not in CISA KEV.
PoC repositories
Found on GitHub.No PoC repositories found yet.