{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2022-2042",
        "STATE": "PUBLIC",
        "TITLE": "Use After Free in vim/vim"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "vim/vim",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_value": "8.2"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "vim"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Use After Free in GitHub repository vim/vim prior to 8.2."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "HIGH",
            "attackVector": "LOCAL",
            "availabilityImpact": "LOW",
            "baseScore": 7.4,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:H/PR:L/UI:R/S:C/C:H/I:H/A:L",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-416 Use After Free"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://huntr.dev/bounties/8628b4cd-4055-4059-aed4-64f7fdc10eba",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/8628b4cd-4055-4059-aed4-64f7fdc10eba"
            },
            {
                "name": "https://github.com/vim/vim/commit/2813f38e021c6e6581c0c88fcf107e41788bc835",
                "refsource": "MISC",
                "url": "https://github.com/vim/vim/commit/2813f38e021c6e6581c0c88fcf107e41788bc835"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-32",
                "url": "https://security.gentoo.org/glsa/202208-32"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213443",
                "url": "https://support.apple.com/kb/HT213443"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213444",
                "url": "https://support.apple.com/kb/HT213444"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213488",
                "url": "https://support.apple.com/kb/HT213488"
            },
            {
                "refsource": "FULLDISC",
                "name": "20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13",
                "url": "http://seclists.org/fulldisclosure/2022/Oct/41"
            },
            {
                "refsource": "FULLDISC",
                "name": "20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13",
                "url": "http://seclists.org/fulldisclosure/2022/Oct/28"
            },
            {
                "refsource": "FULLDISC",
                "name": "20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6",
                "url": "http://seclists.org/fulldisclosure/2022/Oct/43"
            },
            {
                "refsource": "FULLDISC",
                "name": "20221030 APPLE-SA-2022-10-27-9 Additional information for APPLE-SA-2022-09-12-3 macOS Big Sur 11.7",
                "url": "http://seclists.org/fulldisclosure/2022/Oct/45"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202305-16",
                "url": "https://security.gentoo.org/glsa/202305-16"
            }
        ]
    },
    "source": {
        "advisory": "8628b4cd-4055-4059-aed4-64f7fdc10eba",
        "discovery": "EXTERNAL"
    }
}