Bugzilla – Bug 1190379
VUL-0: CVE-2021-3770: vim: using retab with large value may lead to heap buffer overflow
Last modified: 2022-02-18 11:15:03 UTC
Invalid memory access when using :retab with large value may lead to Heap-based Buffer Overflow. Upstream reference: https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9 References: https://bugzilla.redhat.com/show_bug.cgi?id=2001929 http://web.nvd.nist.gov/view/vuln/detail?vulnId=CVE-2021-3770 http://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2021-3770 https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9 https://huntr.dev/bounties/016ad2f2-07c1-4d14-a8ce-6eed10729365
The affected code is in the tabstop_set function, introduced in vim 8.1.0105. We ship older version in the various SLE products, so these packages are not affected. This vulnerability affects only openSUSE:Factory (v8.2.3360). Upstream patch: https://github.com/vim/vim/commit/b7081e135a16091c93f6f5f7525a5c58fb7ca9f9
openSUSE:Factory has now version 8.2.4xxx+ so fixed