{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-22743",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-01-06T14:21:05.892Z",
        "datePublished": "2023-02-14T20:39:30.094Z",
        "dateUpdated": "2024-08-02T10:20:30.039Z"
    },
    "containers": {
        "cna": {
            "title": "Git for Windows' installer is susceptible to DLL side loading attacks",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-426",
                            "lang": "en",
                            "description": "CWE-426: Untrusted Search Path",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "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"
                    }
                }
            ],
            "references": [
                {
                    "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-p2x9-prp4-8gvq"
                },
                {
                    "name": "https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3"
                },
                {
                    "name": "https://attack.mitre.org/techniques/T1574/002/",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://attack.mitre.org/techniques/T1574/002/"
                },
                {
                    "name": "https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1"
                },
                {
                    "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/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/sbscs/about-side-by-side-assemblies-",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-"
                }
            ],
            "affected": [
                {
                    "vendor": "git-for-windows",
                    "product": "git",
                    "versions": [
                        {
                            "version": "< 2.39.2",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-02-14T20:39:30.094Z"
            },
            "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."
                }
            ],
            "source": {
                "advisory": "GHSA-p2x9-prp4-8gvq",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T10:20:30.039Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "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-p2x9-prp4-8gvq"
                    },
                    {
                        "name": "https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/git-for-windows/git/security/advisories/GHSA-gf48-x3vr-j5c3"
                    },
                    {
                        "name": "https://attack.mitre.org/techniques/T1574/002/",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://attack.mitre.org/techniques/T1574/002/"
                    },
                    {
                        "name": "https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/git-for-windows/git/releases/tag/v2.39.2.windows.1"
                    },
                    {
                        "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/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/sbscs/about-side-by-side-assemblies-",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://learn.microsoft.com/en-us/windows/win32/sbscs/about-side-by-side-assemblies-"
                    }
                ]
            }
        ]
    }
}