{
    "CVE_data_meta": {
        "ASSIGNER": "security@huntr.dev",
        "ID": "CVE-2022-4141",
        "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": "9.0.0947"
                                        }
                                    ]
                                }
                            }
                        ]
                    },
                    "vendor_name": "vim"
                }
            ]
        }
    },
    "data_format": "MITRE",
    "data_type": "CVE",
    "data_version": "4.0",
    "description": {
        "description_data": [
            {
                "lang": "eng",
                "value": "Heap based buffer overflow in vim/vim 9.0.0946 and below by allowing an attacker to CTRL-W gf in the expression used in the RHS of the substitute command."
            }
        ]
    },
    "impact": {
        "cvss": {
            "attackComplexity": "LOW",
            "attackVector": "LOCAL",
            "availabilityImpact": "HIGH",
            "baseScore": 7.3,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "UNCHANGED",
            "userInteraction": "REQUIRED",
            "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/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/20ece512-c600-45ac-8a84-d0931e05541f",
                "refsource": "CONFIRM",
                "url": "https://huntr.dev/bounties/20ece512-c600-45ac-8a84-d0931e05541f"
            },
            {
                "name": "https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5",
                "refsource": "MISC",
                "url": "https://github.com/vim/vim/commit/cc762a48d42b579fb7bdec2c614636b830342dd5"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-1e14f3ae45",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AZ3JMSUCR6Y7626RDWQ2HNSUFIQOJ33G/"
            },
            {
                "refsource": "FEDORA",
                "name": "FEDORA-2022-fc4c513d06",
                "url": "https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/V6ZNKVN4GICORTVFKVCM4MSOXCYWNHUC/"
            },
            {
                "refsource": "GENTOO",
                "name": "GLSA-202305-16",
                "url": "https://security.gentoo.org/glsa/202305-16"
            },
            {
                "refsource": "MLIST",
                "name": "[debian-lts-announce] 20230612 [SECURITY] [DLA 3453-1] vim security update",
                "url": "https://lists.debian.org/debian-lts-announce/2023/06/msg00015.html"
            }
        ]
    },
    "source": {
        "advisory": "20ece512-c600-45ac-8a84-d0931e05541f",
        "discovery": "EXTERNAL"
    }
}