{
    "containers": {
        "cna": {
            "affected": [
                {
                    "product": "vim/vim",
                    "vendor": "vim",
                    "versions": [
                        {
                            "lessThan": "8.2.3487",
                            "status": "affected",
                            "version": "unspecified",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "descriptions": [
                {
                    "lang": "en",
                    "value": "vim is vulnerable to Heap-based Buffer Overflow"
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "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"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-122",
                            "description": "CWE-122 Heap-based Buffer Overflow",
                            "lang": "en",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "dateUpdated": "2022-08-21T07:07:02",
                "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
                "shortName": "@huntrdev"
            },
            "references": [
                {
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://huntr.dev/bounties/c958013b-1c09-4939-92ca-92f50aa169e8"
                },
                {
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b"
                },
                {
                    "name": "FEDORA-2021-84f4cf3244",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S42L4Z4DTW4LHLQ4FJ33VEOXRCBE7WN4/"
                },
                {
                    "name": "FEDORA-2021-6988830606",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_FEDORA"
                    ],
                    "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7K4JJBIH3OQSZRVTWKCJCDLGMFGQ5DOH/"
                },
                {
                    "name": "[debian-lts-announce] 20220311 [SECURITY] [DLA 2947-1] vim security update",
                    "tags": [
                        "mailing-list",
                        "x_refsource_MLIST"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html"
                },
                {
                    "name": "GLSA-202208-32",
                    "tags": [
                        "vendor-advisory",
                        "x_refsource_GENTOO"
                    ],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                }
            ],
            "source": {
                "advisory": "c958013b-1c09-4939-92ca-92f50aa169e8",
                "discovery": "EXTERNAL"
            },
            "title": "Heap-based Buffer Overflow in vim/vim",
            "x_legacyV4Record": {
                "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"
                        },
                        {
                            "name": "FEDORA-2021-84f4cf3244",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/S42L4Z4DTW4LHLQ4FJ33VEOXRCBE7WN4/"
                        },
                        {
                            "name": "FEDORA-2021-6988830606",
                            "refsource": "FEDORA",
                            "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/7K4JJBIH3OQSZRVTWKCJCDLGMFGQ5DOH/"
                        },
                        {
                            "name": "[debian-lts-announce] 20220311 [SECURITY] [DLA 2947-1] vim security update",
                            "refsource": "MLIST",
                            "url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html"
                        },
                        {
                            "name": "GLSA-202208-32",
                            "refsource": "GENTOO",
                            "url": "https://security.gentoo.org/glsa/202208-32"
                        }
                    ]
                },
                "source": {
                    "advisory": "c958013b-1c09-4939-92ca-92f50aa169e8",
                    "discovery": "EXTERNAL"
                }
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-03T17:09:09.591Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://huntr.dev/bounties/c958013b-1c09-4939-92ca-92f50aa169e8"
                    },
                    {
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/vim/vim/commit/826bfe4bbd7594188e3d74d2539d9707b1c6a14b"
                    },
                    {
                        "name": "FEDORA-2021-84f4cf3244",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/S42L4Z4DTW4LHLQ4FJ33VEOXRCBE7WN4/"
                    },
                    {
                        "name": "FEDORA-2021-6988830606",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_FEDORA",
                            "x_transferred"
                        ],
                        "url": "https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/7K4JJBIH3OQSZRVTWKCJCDLGMFGQ5DOH/"
                    },
                    {
                        "name": "[debian-lts-announce] 20220311 [SECURITY] [DLA 2947-1] vim security update",
                        "tags": [
                            "mailing-list",
                            "x_refsource_MLIST",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/03/msg00018.html"
                    },
                    {
                        "name": "GLSA-202208-32",
                        "tags": [
                            "vendor-advisory",
                            "x_refsource_GENTOO",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202208-32"
                    }
                ]
            }
        ]
    },
    "cveMetadata": {
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntrdev",
        "cveId": "CVE-2021-3872",
        "datePublished": "2021-10-19T12:30:34",
        "dateReserved": "2021-10-08T00:00:00",
        "dateUpdated": "2024-08-03T17:09:09.591Z",
        "state": "PUBLISHED"
    },
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1"
}