{"id":"CVE-2023-22743","state":"PUBLISHED","title":"Git for Windows' installer is susceptible to DLL side loading attacks","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.","publishedAt":"2023-02-14T20:39:30.094Z","updatedAt":"2025-03-10T21:11:18.086Z","severity":{"score":7.3,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","source":"GitHub_M"},"assigner":"GitHub_M","products":["git-for-windows git"],"affected":[{"vendor":"git-for-windows","product":"git","versions":[{"version":"< 2.39.2","status":"affected"}]}],"references":["https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","https://attack.mitre.org/techniques/T1574/002/","https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensions","https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-"],"weaknesses":["CWE-426"],"ingestedAt":"2026-10-29T20:05:43.909Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2023/22xxx/CVE-2023-22743.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2023-22743","state":"PUBLISHED","datePublished":"2023-02-14T20:39:30.094Z","dateUpdated":"2025-03-10T21:11:18.086Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2023-01-06T14:21:05.892Z"},"containers":{"cna":{"title":"Git for Windows' installer is susceptible to DLL side loading attacks","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"git-for-windows","product":"git","versions":[{"version":"< 2.39.2","status":"affected"}]}],"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","tags":["x_refsource_MISC"]},{"url":"https://attack.mitre.org/techniques/T1574/002/","name":"https://attack.mitre.org/techniques/T1574/002/","tags":["x_refsource_MISC"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","name":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","tags":["x_refsource_MISC"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensions","name":"https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensions","tags":["x_refsource_MISC"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-","name":"https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"HIGH","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-426","lang":"en","description":"CWE-426: Untrusted Search Path","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2023-02-14T20:39:30.094Z"},"source":{"advisory":"GHSA-p2x9-prp4-8gvq","discovery":"UNKNOWN"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://attack.mitre.org/techniques/T1574/002/","name":"https://attack.mitre.org/techniques/T1574/002/","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","name":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensions","name":"https://learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN#using-comctl32dll-version-6-in-an-application-that-uses-only-standard-extensions","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-","name":"https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T10:20:30.039Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-03-10T20:57:49.109097Z","id":"CVE-2023-22743","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-03-10T21:11:18.086Z"}}]}}}