Vulnerability Details : CVE-2023-29012
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.
Products affected by CVE-2023-29012
- cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2023-29012
0.08%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 25 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2023-29012
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
7.8
|
HIGH | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
1.8
|
5.9
|
NIST | |
7.2
|
HIGH | CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H |
0.6
|
6.0
|
GitHub, Inc. |
CWE ids for CVE-2023-29012
-
The product uses a fixed or controlled search path to find resources, but one or more locations in that path can be under the control of unintended actors.Assigned by: security-advisories@github.com (Primary)
References for CVE-2023-29012
-
https://github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1
Release Git for Windows 2.40.1 · git-for-windows/git · GitHubRelease Notes
-
https://github.com/git-for-windows/git/security/advisories/GHSA-gq5x-v87v-8f7g
Git CMD erroneously executes `doskey.exe` in the current directory, if it exists · Advisory · git-for-windows/git · GitHubVendor Advisory
Jump to