{"id":"CVE-2022-1621","published":"2022-05-09T00:00:00Z","modified":"2024-08-03T00:10:03Z","title":"Heap buffer overflow in vim_strncpy find_word in vim/vim","vendor":"vim","product":"vim/vim","tier":"tail","description":{"text":"Heap buffer overflow in vim_strncpy find_word in GitHub repository vim/vim prior to 8.2.4919. This vulnerability is capable of crashing software, Bypass Protection Mechanism, Modify Memory, and possible remote execution","provenance":"source","from":"CVE.org"},"cvss":{"score":7.3,"severity":"HIGH","version":"3.0","vector":"CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.02381,"percentile":0.84302,"provenance":"source"},"cwes":[{"id":"CWE-122","name":"Heap-based Buffer Overflow"}],"references":[{"url":"https://huntr.dev/bounties/520ce714-bfd2-4646-9458-f52cd22bb2fb","tags":[]},{"url":"https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b","tags":[]},{"url":"https://lists.debian.org/debian-lts-announce/2022/05/msg00022.html","tags":["mailing-list"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/HIP7KG7TVS5YF3QREAY2GOGUT3YUBZAI/","tags":["vendor-advisory"]},{"url":"https://security.gentoo.org/glsa/202208-32","tags":["vendor-advisory"]},{"url":"https://support.apple.com/kb/HT213488","tags":[]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/41","tags":["mailing-list"]},{"url":"http://seclists.org/fulldisclosure/2022/Oct/28","tags":["mailing-list"]},{"url":"https://lists.debian.org/debian-lts-announce/2022/11/msg00032.html","tags":["mailing-list"]},{"url":"https://security.gentoo.org/glsa/202305-16","tags":["vendor-advisory"]}],"priority":{"score":22.0,"factors":[{"name":"EPSS percentile","points":16.86},{"name":"CVSS severity","points":5.11}]},"vendorSlug":"vim","affectedVersions":[{"vendor":"vim","product":"vim/vim","versions":[">= unspecified, < 8.2.4919"]}],"euvd":{"id":"EUVD-2022-24910","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-vim-vim-cve-2022-1621","children":[{"from":"CVE-2022-1621","to":"CVE-2022-2287","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/spellfile.c"],"commits":["https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b","https://github.com/vim/vim/commit/5e59ea54c0c37c2f84770f068d95280069828774"],"basis":"shared function","functions":["spell_add_word","store_word"]}]},{"from":"CVE-2022-1621","to":"CVE-2022-2849","relation":"related","confidence":"medium","kind":"lineage","evidence":[{"kind":"same-code","provenance":"machine","files":["src/mbyte.c"],"commits":["https://github.com/vim/vim/commit/7c824682d2028432ee082703ef0ab399867a089b","https://github.com/vim/vim/commit/f6d39c31d2177549a986d170e192d8351bd571e2"],"basis":"rarely changed file"}]}]}}