{"api_version":"1","generated_at":"2026-04-23T01:19:02+00:00","cve":"CVE-2023-22743","urls":{"html":"https://cve.report/CVE-2023-22743","api":"https://cve.report/api/cve/CVE-2023-22743.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2023-22743","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2023-22743"},"summary":{"title":"CVE-2023-22743","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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2023-02-14 21:15:00","updated_at":"2023-08-02 19:27:00"},"problem_types":["CWE-426"],"metrics":[],"references":[{"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-","refsource":"MISC","tags":[],"title":"About Side-by-Side Assemblies - Win32 apps | Microsoft Learn","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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","refsource":"MISC","tags":[],"title":"Git for Windows' uninstaller vulnerable to DLL hijacking when run under the SYSTEM user account · Advisory · git-for-windows/git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"url":"https://attack.mitre.org/techniques/T1574/002/","name":"https://attack.mitre.org/techniques/T1574/002/","refsource":"MISC","tags":[],"title":"Hijack Execution Flow: DLL Side-Loading, Sub-technique T1574.002 - Enterprise | MITRE ATT&CK®","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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","refsource":"MISC","tags":[],"title":"Enabling Visual Styles - Win32 apps | Microsoft Learn","mime":"text/html","httpstatus":"200","archivestatus":"200"},{"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","refsource":"MISC","tags":[],"title":"Release Git for Windows 2.39.2 · git-for-windows/git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"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","refsource":"MISC","tags":[],"title":"Git for Windows' installer is susceptible to DLL side loading attacks · Advisory · git-for-windows/git · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2023-22743","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-22743","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2023","cve_id":"22743","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git-scm","cpe5":"git","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"},{"cve_year":"2023","cve_id":"22743","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"git_for_windows_project","cpe5":"git_for_windows","cpe6":"*","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[{"cve":"CVE-2023-22743","qid":"91992","title":"Microsoft Visual Studio Security Updates for March 2023"}]},"source_records":{"cve_program":{"data_version":"4.0","data_type":"CVE","data_format":"MITRE","CVE_data_meta":{"ID":"CVE-2023-22743","ASSIGNER":"security-advisories@github.com","STATE":"PUBLIC"},"description":{"description_data":[{"lang":"eng","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."}]},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-426: Untrusted Search Path","cweId":"CWE-426"}]}]},"affects":{"vendor":{"vendor_data":[{"vendor_name":"git-for-windows","product":{"product_data":[{"product_name":"git","version":{"version_data":[{"version_affected":"=","version_value":"< 2.39.2"}]}}]}}]}},"references":{"reference_data":[{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq","refsource":"MISC","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq"},{"url":"https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3","refsource":"MISC","name":"https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3"},{"url":"https://attack.mitre.org/techniques/T1574/002/","refsource":"MISC","name":"https://attack.mitre.org/techniques/T1574/002/"},{"url":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1","refsource":"MISC","name":"https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1"},{"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","refsource":"MISC","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"},{"url":"https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-","refsource":"MISC","name":"https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-"}]},"source":{"advisory":"GHSA-p2x9-prp4-8gvq","discovery":"UNKNOWN"},"impact":{"cvss":[{"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"}]}},"nvd":{"publishedDate":"2023-02-14 21:15:00","lastModifiedDate":"2023-08-02 19:27:00","problem_types":["CWE-426"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H","attackVector":"LOCAL","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"REQUIRED","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"HIGH","baseScore":7.3,"baseSeverity":"HIGH"},"exploitabilityScore":1.3,"impactScore":5.9}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:git_for_windows_project:git_for_windows:*:*:*:*:*:*:*:*","versionEndExcluding":"2.39.2","cpe_name":[]}]}]}},"legacy_mitre":{"record":null,"notes":[]}}}