First published: Tue Apr 25 2023(Updated: )
Git for Windows is the Windows port of Git. Prior to version 2.40.1, any user of Git CMD who starts the command in an untrusted directory is impacted by an Uncontrolles Search Path Element vulnerability. Maliciously-placed `doskey.exe` would be executed silently upon running Git CMD. The problem has been patched in Git for Windows v2.40.1. As a workaround, avoid using Git CMD or, if using Git CMD, avoid starting it in an untrusted directory.
Credit: security-advisories@github.com
Affected Software | Affected Version | How to fix |
---|---|---|
Microsoft Visual Studio 2017 (includes 15.0 - 15.8) | =15.9 | |
Microsoft Visual Studio 2019 (includes 16.0 - 16.10) | =16.11 | |
Microsoft Visual Studio 2022 | =17.6 | |
Microsoft Visual Studio 2022 | =17.0 | |
Microsoft Visual Studio 2022 | =17.2 | |
Git For Windows Project Git For Windows | <2.40.1 |
Sign up to SecAlerts for real-time vulnerability data matched to your software, aggregated from hundreds of sources.
The severity of CVE-2023-29012 is high.
Visual Studio 2022 versions 17.2, 17.4, and 17.0, as well as Visual Studio 2019 version 16.11 are affected by CVE-2023-29012.
You can download the patch for Visual Studio 2022 version 17.2 from the following URL: https://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.2
You can download the patch for Visual Studio 2022 version 17.4 from the following URL: https://my.visualstudio.com/Downloads?q=Visual Studio 2022 version 17.4
You can download the patch for Visual Studio 2019 version 16.11 from the following URL: https://my.visualstudio.com/Downloads?q=Visual Studio 2019 version 16.11