{"id":"CVE-2022-2845","state":"PUBLISHED","title":"Improper Validation of Specified Quantity in Input in vim/vim","description":"Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218.","publishedAt":"2022-08-17T00:00:00.000Z","updatedAt":"2026-10-09T13:35:16.376Z","severity":{"score":7.8,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","source":"@huntrdev"},"assigner":"@huntrdev","products":["vim vim/vim"],"affected":[{"vendor":"vim","product":"vim/vim","defaultStatus":"unaffected","versions":[{"version":"unspecified","status":"affected","lessThan":"9.0.0218","versionType":"custom"}]}],"references":["https://huntr.dev/bounties/3e1d31ac-1cfd-4a9f-bc5c-213376b69445","https://github.com/vim/vim/commit/e98c88c44c308edaea5994b8ad4363e65030968c","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C72HDIMR3KTTAO7QGTXWUMPBNFUFIBRD/","https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/","https://security.gentoo.org/glsa/202305-16"],"weaknesses":["CWE-1284"],"ingestedAt":"2026-10-29T19:50:01.354Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2022/2xxx/CVE-2022-2845.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2022-2845","state":"PUBLISHED","datePublished":"2022-08-17T00:00:00.000Z","dateUpdated":"2026-10-09T13:35:16.376Z","assignerShortName":"@huntrdev","assignerOrgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateReserved":"2022-08-16T00:00:00.000Z"},"containers":{"cna":{"title":"Improper Validation of Specified Quantity in Input in vim/vim","descriptions":[{"lang":"en","value":"Improper Validation of Specified Quantity in Input in GitHub repository vim/vim prior to 9.0.0218."}],"affected":[{"vendor":"vim","product":"vim/vim","defaultStatus":"unaffected","versions":[{"version":"unspecified","status":"affected","lessThan":"9.0.0218","versionType":"custom"}]}],"references":[{"url":"https://huntr.dev/bounties/3e1d31ac-1cfd-4a9f-bc5c-213376b69445"},{"url":"https://github.com/vim/vim/commit/e98c88c44c308edaea5994b8ad4363e65030968c"},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C72HDIMR3KTTAO7QGTXWUMPBNFUFIBRD/","name":"FEDORA-2022-3b33d04743","tags":["vendor-advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/","name":"FEDORA-2022-b9edf60581","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202305-16","name":"GLSA-202305-16","tags":["vendor-advisory"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"LOCAL","availabilityImpact":"HIGH","baseScore":7.8,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-1284","description":"CWE-1284 Improper Validation of Specified Quantity in Input","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"@huntrdev","orgId":"c09c270a-b464-47c1-9133-acb35b22c19a","dateUpdated":"2023-07-10T07:47:29.572Z"},"source":{"advisory":"3e1d31ac-1cfd-4a9f-bc5c-213376b69445","discovery":"EXTERNAL"},"x_generator":{"engine":"Vulnogram 0.1.0-dev"}},"adp":[{"title":"CVE Program Container","references":[{"url":"https://huntr.dev/bounties/3e1d31ac-1cfd-4a9f-bc5c-213376b69445","tags":["x_transferred"]},{"url":"https://github.com/vim/vim/commit/e98c88c44c308edaea5994b8ad4363e65030968c","tags":["x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/C72HDIMR3KTTAO7QGTXWUMPBNFUFIBRD/","name":"FEDORA-2022-3b33d04743","tags":["vendor-advisory","x_transferred"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/XWOJOA7PZZAMBI5GFTL6PWHXMWSDLUXL/","name":"FEDORA-2022-b9edf60581","tags":["vendor-advisory","x_transferred"]},{"url":"https://security.gentoo.org/glsa/202305-16","name":"GLSA-202305-16","tags":["vendor-advisory","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-03T00:52:58.914Z"}},{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-10-09T13:34:51.796430Z","id":"CVE-2022-2845","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-10-09T13:35:16.376Z"}}]}}}