SecurityContext

CVE-2023-22743: Git for Windows - DLL Side-Loading

  • Cve: CVE-2023-22743
  • Name: Git for Windows - DLL Side-Loading
  • Description: Git for Windows is the Windows port of the revision control system Git. Prior to Git for Windows version 2.39.2, by carefully crafting DLL and putting into a subdirectory of a specific name living next to the Git for Windows installer, Windows can be tricked into side-loading said DLL. This potentially allows users with local write access to place malicious payloads in a location where automated upgrades might run the Git for Windows installer with elevation. Version 2.39.2 contains a patch for this issue. Some workarounds are available. Never 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.
  • Impact: Local attackers can execute arbitrary code with elevated privileges during installer execution, potentially leading to full system compromise.
  • Remediation: Update to version 2.39.2 or later.
  • Vulnerability impact: remote_code_execution, privilege_escalation
  • Requirement type: none
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 7.3
  • Cvss vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.00352
  • Epss percentile: 0.29209
  • Assignee: [email protected]
  • Published at: 2023-02-14T21:15:12Z
  • Age in days: 1379
  • Modified at: 2026-06-17T05:36:04Z
  • Patch available: yes
  • References total: 6
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2023-22743
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: vulnerability type, requirements, hackerone

Cwe

IdName
CWE-426Untrusted Search Path

References

Same in every row:

  • Source: nvd
UrlTags
https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensionsPatch, Technical Description, Vendor Advisory
https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-Patch, Technical Description, Vendor Advisory
https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3Vendor Advisory
https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvqVendor Advisory
https://attack.mitre.org/techniques/T1574/002/Technical Description
https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
git_for_windows_project:git_for_windows< 2.39.2nonvd/v1/products/git_for_windows_project/git_for_windows

Projects

RepositoryLink kindsIndexedUrl
git-for-windows/gitreleases, security_advisoryyes/v1/repositories/git-for-windows/git

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, remote
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts