Out-of-bounds Write Affecting vim package, versions <2:7.4.052-1ubuntu3.1+esm16
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-UBUNTU1404-VIM-6228202
- published 6 Feb 2024
- disclosed 5 Feb 2024
Introduced: 5 Feb 2024
CVE-2024-22667 Open this link in a new tabHow to fix?
Upgrade Ubuntu:14.04 vim to version 2:7.4.052-1ubuntu3.1+esm16 or higher.
NVD Description
Note: Versions mentioned in the description apply only to the upstream vim package and not the vim package as distributed by Ubuntu.
See How to fix? for Ubuntu:14.04 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
- http://people.ubuntu.com/~ubuntu-security/cve/CVE-2024-22667
- 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