{
    "data_version": "4.0",
    "data_type": "CVE",
    "data_format": "MITRE",
    "CVE_data_meta": {
        "ID": "CVE-2024-32004",
        "ASSIGNER": "security-advisories@github.com",
        "STATE": "PUBLIC"
    },
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Git is a revision control system. Prior to versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4, an attacker can prepare a local repository in such a way that, when cloned, will execute arbitrary code during the operation. The problem has been patched in versions 2.45.1, 2.44.1, 2.43.4, 2.42.2, 2.41.1, 2.40.2, and 2.39.4. As a workaround, avoid cloning repositories from untrusted sources."
            }
        ]
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-114: Process Control",
                        "cweId": "CWE-114"
                    }
                ]
            }
        ]
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "vendor_name": "git",
                    "product": {
                        "product_data": [
                            {
                                "product_name": "git",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "=",
                                            "version_value": "= 2.45.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "= 2.44.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.43.0, < 2.43.4"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.42.0, < 2.42.2"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "= 2.41.0"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": ">= 2.40.0, < 2.40.2"
                                        },
                                        {
                                            "version_affected": "=",
                                            "version_value": "< 2.39.4"
                                        }
                                    ]
                                }
                            }
                        ]
                    }
                }
            ]
        }
    },
    "references": {
        "reference_data": [
            {
                "url": "https://github.com/git/git/security/advisories/GHSA-xfc6-vwr8-r389",
                "refsource": "MISC",
                "name": "https://github.com/git/git/security/advisories/GHSA-xfc6-vwr8-r389"
            },
            {
                "url": "https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8",
                "refsource": "MISC",
                "name": "https://github.com/git/git/commit/f4aa8c8bb11dae6e769cd930565173808cbb69c8"
            },
            {
                "url": "https://git-scm.com/docs/git-clone",
                "refsource": "MISC",
                "name": "https://git-scm.com/docs/git-clone"
            },
            {
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/",
                "refsource": "MISC",
                "name": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S4CK4IYTXEOBZTEM5K3T6LWOIZ3S44AR/"
            },
            {
                "url": "http://www.openwall.com/lists/oss-security/2024/05/14/2",
                "refsource": "MISC",
                "name": "http://www.openwall.com/lists/oss-security/2024/05/14/2"
            },
            {
                "url": "https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html",
                "refsource": "MISC",
                "name": "https://lists.debian.org/debian-lts-announce/2024/06/msg00018.html"
            }
        ]
    },
    "source": {
        "advisory": "GHSA-xfc6-vwr8-r389",
        "discovery": "UNKNOWN"
    },
    "impact": {
        "cvss": [
            {
                "attackComplexity": "HIGH",
                "attackVector": "LOCAL",
                "availabilityImpact": "HIGH",
                "baseScore": 8.2,
                "baseSeverity": "HIGH",
                "confidentialityImpact": "HIGH",
                "integrityImpact": "HIGH",
                "privilegesRequired": "NONE",
                "scope": "CHANGED",
                "userInteraction": "NONE",
                "vectorString": "CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H",
                "version": "3.1"
            }
        ]
    }
}