Vulnerability in Git-for-windows Git

CVE-2022-31012

Git for Windows is a fork of Git that contains Windows-specific patches. This vulnerability in versions prior to 2.37.1 lets Git for Windows' installer execute a binary into `C:\mingw64\bin\git.exe` by mistake. This only happens upon a fre…

EPSS: 0.001 (24.4th percentile) — read the EPSS interpretation.

CVSS v3 metric

CVSS v3 base score 8.2 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:H/I:H/A:H.

Affected products

Weakness classification (CWE)

Public proof-of-concept exploits

References

Frequently asked questions

What is CVE-2022-31012?
CVE-2022-31012 is a high-severity vulnerability in Git-for-windows Git, classified under Untrusted Search Path. CVSS score: 8.2/10. Published 2022-07-12.
How severe is CVE-2022-31012?
High severity. CVSS v3 base score is 8.2 out of 10.
Is CVE-2022-31012 known to be exploited?
8 public proof-of-concept repositories are indexed. Not currently listed in the CISA KEV catalog.