Untrusted Search Path Affecting git-for-windows/git package, versions [,2.39.2)


Severity

Recommended
0.0
high
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.04% (6th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-UNMANAGED-GITFORWINDOWSGIT-3322599
  • published16 Feb 2023
  • disclosed16 Feb 2023
  • creditUnknown

Introduced: 16 Feb 2023

CVE-2023-22743  (opens in a new tab)
CWE-426  (opens in a new tab)

How to fix?

Upgrade git-for-windows/git to version 2.39.2 or higher.

Overview

Affected versions of this package are vulnerable to Untrusted Search Path by allowing users with local write access to place malicious payloads in a location where automated upgrades might run the Git for Windows installer with elevation.

Note: Users should not leave untrusted files in the Downloads folder or its sub-folders before executing the Git for Windows installer, or move the installer into a different directory before executing it.

CVSS Scores

version 3.1