CVE-2023-29012: High severity git for windows vulnerability

Published 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.

Other sources

GitHub: CVE-2023-29012 Git CMD erroneously executes doskey.exe in current directory, if it exists

Affected Software

6 affected componentsFixes available
Git For Windows Project Git For Windows<2.40.1
Microsoft Visual Studio 2019 (includes 16.0 - 16.10)=16.11
Microsoft Visual Studio 2017 (includes 15.0 - 15.8)=15.9
Microsoft Visual Studio 2022=17.2
Microsoft Visual Studio 2022=17.6
Microsoft Visual Studio 2022=17.0

Event History

Apr 25, 2023
CVE Published
09:15 PM
Jun 13, 2023
Data Sourced
07:00 AM
DescriptionSeverityWeakness

Frequently Asked Questions

1

What is the severity of CVE-2023-29012?

The severity of CVE-2023-29012 is high.

2

Which software is affected by CVE-2023-29012?

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.

3

How can I fix CVE-2023-29012 for Visual Studio 2022 version 17.2?

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

4

How can I fix CVE-2023-29012 for Visual Studio 2022 version 17.4?

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

5

How can I fix CVE-2023-29012 for Visual Studio 2019 version 16.11?

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

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203