Integer Overflow or Wraparound Affecting vim-small package, versions <9.1.0111-150000.5.60.1
Threat Intelligence
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-VIMSMALL-6436279
- published 14 Mar 2024
- disclosed 13 Mar 2024
Introduced: 13 Mar 2024
CVE-2023-48235 Open this link in a new tabHow to fix?
Upgrade SLES:15.3 vim-small 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-small package and not the vim-small package as distributed by SLES.
See How to fix? for SLES:15.3 relevant fixed versions and status.
Vim is an open source command line text editor. When parsing relative ex addresses one may unintentionally cause an
overflow. Ironically this happens in the existing overflow check, because the line number becomes negative and LONG_MAX - lnum will cause the overflow. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit 060623e which has been included in release version 9.0.2110. Users are advised to upgrade. There are no known workarounds for this vulnerability.
References
- https://www.suse.com/security/cve/CVE-2023-48235.html
- https://bugzilla.suse.com/1217326
- https://github.com/vim/vim/commit/060623e4a3bc72b011e7cd92bedb3bfb64e06200
- https://github.com/vim/vim/security/advisories/GHSA-6g74-hr6q-pr8g
- http://www.openwall.com/lists/oss-security/2023/11/16/1
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/M3VQF7CL3V6FGSEW37WNDFBRRILR65AK/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/4UJAK2W5S7G75ETDAEM3BDUCVSXCEGRD/
- https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/VNRNYLWXZOGTYWE5HMFNQ5FVE3HBUHF6/
- https://security.netapp.com/advisory/ntap-20231227-0007/