{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2021-3872",
        "STATE": "PUBLIC",
        "TITLE": "Heap-based Buffer Overflow in vim/vim"
    },
    "affects": {
        "vendor": {
            "vendor_data": [
                {
                    "product": {
                        "product_data": [
                            {
                                "product_name": "vim/vim",
                                "version": {
                                    "version_data": [
                                        {
                                            "version_affected": "<",
                                            "version_value": "8.2.3487"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "vim"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "vim is vulnerable to Heap-based Buffer Overflow"
            }
        ]
    },
    "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-122 Heap-based Buffer Overflow"
                    }
                ]
            }
        ]
    },
    "references": {
        "reference_data": [
            {
                "name": "https://huntr.dev/bounties/c958013b-1c09-4939-92ca-92f50aa169e8",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/c958013b-1c09-4939-92ca-92f50aa169e8"
            },
            {
                "name": "https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b",
                "refsource": "MISC",
                "url": "https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-84f4cf3244",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S42L4Z4DTW4LHLQ4FJ33VEOXRCBE7WN4/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2021-6988830606",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7K4JJBIH3OQSZRVTWKCJCDLGMFGQ5DOH/"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20220311 [SECURITY] [DLA 2947-1] vim security update",
                "url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202208-32",
                "url": "https://security.gentoo.org/glsa/202208-32"
            }
        ]
    },
    "source": {
        "advisory": "c958013b-1c09-4939-92ca-92f50aa169e8",
        "discovery": "EXTERNAL"
    }
}