{
  "affected": [
    {
      "ranges": [
        {
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "a82fa99b36ddfd643e61ed45e52abe314687df67"
            }
          ],
          "repo": "https://github.com/git-for-windows/git",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-426"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22743.json"
  },
  "details": "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.",
  "id": "CVE-2023-22743",
  "modified": "2026-04-01T23:08:46.040534482Z",
  "published": "2023-02-14T20:39:30.094Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://attack.mitre.org/techniques/T1574/002/"
    },
    {
      "type": "WEB",
      "url": "https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1"
    },
    {
      "type": "WEB",
      "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"
    },
    {
      "type": "WEB",
      "url": "https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/22xxx/CVE-2023-22743.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/git-for-windows/git/security/advisories/GHSA-p2x9-prp4-8gvq"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2023-22743"
    }
  ],
  "related": [
    "GHSA-gf48-x3vr-j5c3",
    "GHSA-p2x9-prp4-8gvq"
  ],
  "schema_version": "1.7.3",
  "severity": [
    {
      "score": "CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:H",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Git for Windows' installer is susceptible to DLL side loading attacks"
}