CVE-2023-23618
Git For Windows Project Git For Windows vulnerability
Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, when `gitk` is run on Windows, it potentially runs executables from the current directory inadvertently, which can be exploited with some social engineering to trick users into running untrusted code. A patch is available in version 2.39.2. As a workaround, avoid using `gitk` (or Git GUI's "Visualize History" functionality) in clones of untrusted repositories.
Affected products
Git For Windows. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Git For Windows Project Git For Windows runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/git-for-windows/git/security/advisories/GHSA-wxwv-49qw-35pm · Vendor Advisory
- github.com/git-for-windows/git/commit/49a8ec9dac3cec6602f05fed1b3f80a549c8c05c · Patch
- github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1
- wiki.tcl-lang.org/page/exec
- nvd.nist.gov/vuln/detail/CVE-2023-23618
- cve.org/CVERecord?id=CVE-2023-23618
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.