{"schemaVersion":3,"id":"CVE-2023-22743","aliases":["CGA-7hc7-3m6f-7q8f","CGA-v9vg-492j-xhqm"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2023-02-14T20:39:30.094Z","modified":"2025-03-10T21:11:18.086Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.3,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","exploitability":1.5,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H","exploitability":1.5,"impact":10,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.3,"severity":"high","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00352,"percentile":0.2742,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00352},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00352,"percentile":0.2742}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00352,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00352,"percentile":0.2742}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-426","name":"Untrusted Search Path","description":"The product searches for critical resources using an externally-supplied search path that can point to resources that are not under the product's direct control.","type":"weakness","status":"Stable","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/426.html"}],"affected":[{"vendor":"chainguard","product":"git","name":"git","label":"git","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/git","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"wolfi","product":"git","name":"git","label":"git","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/git","purlType":"apk","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"git_for_windows_project","product":"git_for_windows","name":"git for windows","label":"git_for_windows","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.39.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.39.2","eol":null,"hubHref":"/vendor/git_for_windows_project/git_for_windows"},{"vendor":"git-for-windows","product":"git","name":"git","label":"git","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 2.39.2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 2.39.2","eol":null,"hubHref":"/vendor/git-for-windows/git"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","label":"github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","Vendor Advisory"]},{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","label":"github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","hostname":"github.com","tags":["X Refsource MISC","Advisory","Vendor Advisory"]},{"url":"https://attack.mitre.org/techniques/T1574/002/","label":"attack.mitre.org/techniques/T1574/002/","hostname":"attack.mitre.org","tags":["X Refsource MISC","WEB","Technical Description"]},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","label":"github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","hostname":"github.com","tags":["X Refsource MISC","WEB","Release Notes"]},{"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","label":"learn.microsoft.com/en-us/windows/win32/controls/cookbook-overview?redirectedfrom=MSDN","hostname":"learn.microsoft.com","tags":["X Refsource MISC","WEB","Patch","Technical Description","Vendor Advisory"]},{"url":"https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-","label":"learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-","hostname":"learn.microsoft.com","tags":["X Refsource MISC","WEB","Patch","Technical Description","Vendor Advisory"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22743.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22743.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22743","label":"nvd.nist.gov/vuln/detail/CVE-2023-22743","hostname":"nvd.nist.gov","tags":["Advisory"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-462F-W9FF-M668","CGA-6XHM-XXCP-8MRV"]},"timeline":[{"kind":"published","date":"2023-02-14T20:39:30.094Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2025-03-10T21:11:18.086Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T00:33:55.887Z","stale":false,"partial":false}}