• 公告ID (KylinSec-SA-2023-2324)

摘要:

vim security update

安全等级: Low

公告ID: KylinSec-SA-2023-2324

发布日期: 2023年12月1日

关联CVE: CVE-2023-48231   CVE-2023-48233   CVE-2023-48234   CVE-2023-48235   CVE-2023-48236   CVE-2023-48237  

  • 详细介绍

1. 漏洞描述

   

Vim is an advanced text editor that seeks to provide the power of the de-facto Unix editor 'Vi', with a more complete feature set. Vim is a highly configurable text editor built to enable efficient text editing. It is an improved version of the vi editor distributed with most UNIX systems.

Security Fix(es):

Vim is an open source command line text editor. When closing a window, vim may try to access already freed window structure. Exploitation beyond crashing the application has not been shown to be viable. This issue has been addressed in commit `25aabc2b` which has been included in release version 9.0.2106. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48231)

Vim is an open source command line text editor. If the count after the :s command is larger than what fits into a (signed) long variable, abort with e_value_too_large. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `ac6378773` which has been included in release version 9.0.2108. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48233)

Vim is an open source command line text editor. When getting the count for a normal mode z command, it may overflow for large counts given. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `58f9befca1` which has been included in release version 9.0.2109. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48234)

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.(CVE-2023-48235)

Vim is an open source command line text editor. When using the z= command, the user may overflow the count with values larger
than MAX_INT. Impact is low, user interaction is required and a crash may not even happen in all situations. This vulnerability has been addressed in commit `73b2d379` which has been included in release version 9.0.2111. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48236)

Vim is an open source command line text editor. In affected versions when shifting lines in operator pending mode and using a very large value, it may be possible to overflow the size of integer. Impact is low, user interaction is required and a crash may not even happen in all situations. This issue has been addressed in commit `6bf131888` which has been included in version 9.0.2112. Users are advised to upgrade. There are no known workarounds for this vulnerability.(CVE-2023-48237)

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2023-48231 KY3.5.2 vim Fixed
CVE-2023-48233 KY3.5.2 vim Fixed
CVE-2023-48234 KY3.5.2 vim Fixed
CVE-2023-48235 KY3.5.2 vim Fixed
CVE-2023-48236 KY3.5.2 vim Fixed
CVE-2023-48237 KY3.5.2 vim Fixed

3. 影响组件

    vim

4. 修复版本

   

KY3.5.2

软件名称 架构 版本号
vim-filesystem noarch 9.0-23.ky3_5
vim-minimal x86_64 9.0-23.ky3_5
vim-X11 x86_64 9.0-23.ky3_5
vim-common x86_64 9.0-23.ky3_5
vim-enhanced x86_64 9.0-23.ky3_5
vim-X11 aarch64 9.0-23.ky3_5
vim-enhanced aarch64 9.0-23.ky3_5
vim-minimal aarch64 9.0-23.ky3_5
vim-common aarch64 9.0-23.ky3_5

5. 修复方法


方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm

方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名

6. 下载链接

   

KY3.5.2:

x86_64:

     vim-filesystem   

     vim-minimal   

     vim-X11   

     vim-common   

     vim-enhanced   

aarch64:

     vim-filesystem   

     vim-X11   

     vim-enhanced   

     vim-minimal   

     vim-common   

上一篇:KylinSec-SA-2023-2323 下一篇:KylinSec-SA-2023-2325