Out-of-bounds Write Affecting vim-data package, versions <9.1.0111-150000.5.60.1
Threat Intelligence
EPSS
0.04% (6th
percentile)
Do your applications use this vulnerable package?
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applications- Snyk ID SNYK-SLES153-VIMDATA-6436458
- published 14 Mar 2024
- disclosed 13 Mar 2024
Introduced: 13 Mar 2024
CVE-2024-22667 Open this link in a new tabHow to fix?
Upgrade SLES:15.3 vim-data to version 9.1.0111-150000.5.60.1 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream vim-data package and not the vim-data package as distributed by SLES.
See How to fix? for SLES:15.3 relevant fixed versions and status.
Vim before 9.0.2142 has a stack-based buffer overflow because did_set_langmap in map.c calls sprintf to write to the error buffer that is passed down to the option callback functions.
References
- https://www.suse.com/security/cve/CVE-2024-22667.html
- https://bugzilla.suse.com/1219581
- https://bugzilla.suse.com/1224870
- https://gist.githubusercontent.com/henices/2467e7f22dcc2aa97a2453e197b55a0c/raw/7b54bccc9a129c604fb139266f4497ab7aaa94c7/gistfile1.txt
- https://github.com/vim/vim/commit/b39b240c386a5a29241415541f1c99e2e6b8ce47
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UI44Y4LJLG34D4HNB6NTPLUPZREHAEL7/
- https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/UIQLVUSYHDN3644K6EFDI7PRZOTIKXM3/
- https://security.netapp.com/advisory/ntap-20240223-0008/
CVSS Scores
version 3.1