{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2021-4166",
        "STATE": "PUBLIC",
        "TITLE": "Out-of-bounds Read 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": "vim is vulnerable to Out-of-bounds Read"
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.1,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "NONE",
            "privilegesRequired": "NONE",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:H",
            "version": "3.0"
        }
    },
    "problemtype": {
        "problemtype_data": [
            {
                "description": [
                    {
                        "lang": "eng",
                        "value": "CWE-125 Out-of-bounds Read"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/229df5dd-5507-44e9-832c-c70364bdf035"
            },
            {
                "name": "https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682",
                "refsource": "MISC",
                "url": "https://github.com/vim/vim/commit/6f98371532fcff911b462d51bc64f2ce8a6ae682"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-a3d70b50f0",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/2EY2VFBU3YGGWI5BW4XKT3F37MYGEQUD/"
            },
            {
                "refsource": "MLIST",
                "name": "[oss-security] 20220114 Re: 3 new CVE's in vim",
                "url": "http://www.openwall.com/lists/oss-security/2022/01/15/1"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-48b86d586f",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/3FH2J57GDA2WMBS6J56F6QQRA6BXQQFZ/"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213183",
                "url": "https://support.apple.com/kb/HT213183"
            },
            {
                "refsource": "FULLDISC",
                "name": "20220314 APPLE-SA-2022-03-14-4 macOS Monterey 12.3",
                "url": "http://seclists.org/fulldisclosure/2022/Mar/29"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213256",
                "url": "https://support.apple.com/kb/HT213256"
            },
            {
                "refsource": "FULLDISC",
                "name": "20220516 APPLE-SA-2022-05-16-3 macOS Big Sur 11.6.6",
                "url": "http://seclists.org/fulldisclosure/2022/May/35"
            },
            {
                "refsource": "CONFIRM",
                "name": "https://support.apple.com/kb/HT213343",
                "url": "https://support.apple.com/kb/HT213343"
            },
            {
                "refsource": "FULLDISC",
                "name": "20220721 APPLE-SA-2022-07-20-4 Security Update 2022-005 Catalina",
                "url": "http://seclists.org/fulldisclosure/2022/Jul/14"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-32",
                "url": "https://security.gentoo.org/glsa/202208-32"
            }
        ]
    },
    "source": {
        "advisory": "229df5dd-5507-44e9-832c-c70364bdf035",
        "discovery": "EXTERNAL"
    }
}