{"id":"CLSA-2024-1720776957","summary":"vim: Fix of 10 CVEs","details":"- CVE-2023-0054: check the return value of vim_regsub()\n- CVE-2023-0049: avoid going over the NUL at the end\n- CVE-2023-0288: prevent the cursor from moving to line zero\n- CVE-2023-0433: check for not going over the end of the line\n- CVE-2023-2610: limit the text length to MAXCOL\n- CVE-2023-4750: check buffer is valid before accessing it\n- CVE-2023-4733: verify oldwin pointer after reset_VIsual()\n- CVE-2023-4751: stop Visual mode when using :ball\n- CVE-2023-5344: add NULL at end of buffer\n- CVE-2024-22667: pass size of errbuf down the call stack, use snprintf()","modified":"2026-05-27T11:33:43.303248803Z","published":"2024-07-12T09:36:00Z","upstream":["CVE-2023-0049","CVE-2023-0054","CVE-2023-0288","CVE-2023-0433","CVE-2023-2610","CVE-2023-4733","CVE-2023-4750","CVE-2023-4751","CVE-2023-5344","CVE-2024-22667"],"references":[{"type":"ADVISORY","url":"https://errata.tuxcare.com/centos7-els/CLSA-2024-1720776957.html"}],"affected":[{"package":{"name":"vim-X11","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-X11?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.el7_9.tuxcare.els1"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"}},{"package":{"name":"vim-common","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-common?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.el7_9.tuxcare.els1"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"}},{"package":{"name":"vim-enhanced","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-enhanced?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.el7_9.tuxcare.els1"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"}},{"package":{"name":"vim-filesystem","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-filesystem?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.el7_9.tuxcare.els1"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"}},{"package":{"name":"vim-minimal","ecosystem":"TuxCare:CentOS:7","purl":"pkg:rpm/tuxcare/vim-minimal?distro=centos-7"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2:7.4.629-8.el7_9.tuxcare.els1"}]}],"database_specific":{"source":"https://github.com/cloudlinux/tuxcare-osv/tree/main/data/els_os/centos7els/CLSA-2024-1720776957.json"}}],"schema_version":"1.7.5"}