Vulnerability in Git-For-Windows Git
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.2 (High). Vector: CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.004 (30.7th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 31st percentile — 30.7% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.004 · newest: 0.004 · change: 0.000
Affected products
- Git-For-Windows Git — versions < 2.40.1
- Git For Windows Project
Weakness classification (CWE)
Public proof-of-concept exploits
References
- github.com/git-for-windows/git/security/advisories/GHSA-gq5x-v87v-8f7g (Vendor Advisory)
- github.com/git-for-windows/git/releases/tag/v2.40.1.windows.1 (Release Notes)
Frequently asked questions
- What is CVE-2023-29012?
- CVE-2023-29012 is a high-severity vulnerability in Git-For-Windows Git, classified under Uncontrolled Search Path Element. CVSS score: 7.2/10. Published 2023-04-25.
- How severe is CVE-2023-29012?
- High severity. CVSS v3 base score is 7.2 out of 10.
- Is CVE-2023-29012 known to be exploited?
- 8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.