{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "state": "PUBLISHED",
        "cveId": "CVE-2022-0318",
        "assignerOrgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
        "assignerShortName": "@huntrdev",
        "dateUpdated": "2024-08-02T23:25:39.944Z",
        "dateReserved": "2022-01-20T00:00:00",
        "datePublished": "2022-01-21T00:00:00"
    },
    "containers": {
        "cna": {
            "title": "Heap-based Buffer Overflow in vim/vim",
            "providerMetadata": {
                "orgId": "c09c270a-b464-47c1-9133-acb35b22c19a",
                "shortName": "@huntrdev",
                "dateUpdated": "2022-11-24T00:00:00"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "Heap-based Buffer Overflow in vim/vim prior to 8.2."
                }
            ],
            "affected": [
                {
                    "vendor": "vim",
                    "product": "vim/vim",
                    "versions": [
                        {
                            "version": "unspecified",
                            "lessThan": "8.2",
                            "status": "affected",
                            "versionType": "custom"
                        }
                    ]
                }
            ],
            "references": [
                {
                    "url": "https://huntr.dev/bounties/0d10ba02-b138-4e68-a284-67f781a62d08"
                },
                {
                    "url": "https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc"
                },
                {
                    "name": "GLSA-202208-32",
                    "tags": [
                        "vendor-advisory"
                    ],
                    "url": "https://security.gentoo.org/glsa/202208-32"
                },
                {
                    "url": "https://support.apple.com/kb/HT213444"
                },
                {
                    "url": "https://support.apple.com/kb/HT213488"
                },
                {
                    "name": "20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2022/Oct/41"
                },
                {
                    "name": "20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2022/Oct/28"
                },
                {
                    "name": "20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "http://seclists.org/fulldisclosure/2022/Oct/43"
                },
                {
                    "name": "[debian-lts-announce] 20221124 [SECURITY] [DLA 3204-1] vim security update",
                    "tags": [
                        "mailing-list"
                    ],
                    "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html"
                }
            ],
            "metrics": [
                {
                    "cvssV3_0": {
                        "version": "3.0",
                        "vectorString": "CVSS:3.0/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:H",
                        "attackVector": "LOCAL",
                        "attackComplexity": "LOW",
                        "privilegesRequired": "LOW",
                        "userInteraction": "NONE",
                        "scope": "UNCHANGED",
                        "confidentialityImpact": "LOW",
                        "integrityImpact": "LOW",
                        "availabilityImpact": "HIGH",
                        "baseScore": 6.6,
                        "baseSeverity": "MEDIUM"
                    }
                }
            ],
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "type": "CWE",
                            "lang": "en",
                            "description": "CWE-122 Heap-based Buffer Overflow",
                            "cweId": "CWE-122"
                        }
                    ]
                }
            ],
            "source": {
                "advisory": "0d10ba02-b138-4e68-a284-67f781a62d08",
                "discovery": "EXTERNAL"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T23:25:39.944Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "url": "https://huntr.dev/bounties/0d10ba02-b138-4e68-a284-67f781a62d08",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://github.com/vim/vim/commit/57df9e8a9f9ae1aafdde9b86b10ad907627a87dc",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "GLSA-202208-32",
                        "tags": [
                            "vendor-advisory",
                            "x_transferred"
                        ],
                        "url": "https://security.gentoo.org/glsa/202208-32"
                    },
                    {
                        "url": "https://support.apple.com/kb/HT213444",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "url": "https://support.apple.com/kb/HT213488",
                        "tags": [
                            "x_transferred"
                        ]
                    },
                    {
                        "name": "20221030 APPLE-SA-2022-10-27-5 Additional information for APPLE-SA-2022-10-24-2 macOS Ventura 13",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2022/Oct/41"
                    },
                    {
                        "name": "20221030 APPLE-SA-2022-10-24-2 macOS Ventura 13",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2022/Oct/28"
                    },
                    {
                        "name": "20221030 APPLE-SA-2022-10-27-7 Additional information for APPLE-SA-2022-09-12-4 macOS Monterey 12.6",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "http://seclists.org/fulldisclosure/2022/Oct/43"
                    },
                    {
                        "name": "[debian-lts-announce] 20221124 [SECURITY] [DLA 3204-1] vim security update",
                        "tags": [
                            "mailing-list",
                            "x_transferred"
                        ],
                        "url": "https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html"
                    }
                ]
            }
        ]
    }
}