{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2022-1898",
        "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": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.8,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-416 Use After Free"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://huntr.dev/bounties/45aad635-c2f1-47ca-a4f9-db5b25979cea",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/45aad635-c2f1-47ca-a4f9-db5b25979cea"
            },
            {
                "name": "https://github.com/vim/vim/commit/e2fa213cf571041dbd04ab0329303ffdc980678a",
                "refsource": "MISC",
                "url": "https://github.com/vim/vim/commit/e2fa213cf571041dbd04ab0329303ffdc980678a"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-5ce148636b",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/QMFHBC5OQXDPV2SDYA2JUQGVCPYASTJB/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-d94440bf0e",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/OZSLFIKFYU5Y2KM5EJKQNYHWRUBDQ4GJ/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-bb2daad935",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/TYNK6SDCMOLQJOI3B4AOE66P2G2IH4ZM/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220620 [SECURITY] [DLA 3053-1] vim security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/06/msg00014.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-32",
                "url": "https://security.gentoo.org/glsa/202208-32"
            },
            {
                "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": "MLIST",
                "name": "[debian-lts-announce] 20221108 [SECURITY] [DLA 3182-1] vim security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00009.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202305-16",
                "url": "https://security.gentoo.org/glsa/202305-16"
            }
        ]
    },
    "source": {
        "advisory": "45aad635-c2f1-47ca-a4f9-db5b25979cea",
        "discovery": "EXTERNAL"
    }
}