摘要:
vim security update
安全等级: Medium
公告ID: KylinSec-SA-2025-2800
发布日期: 2025年9月22日
关联CVE: CVE-2025-53905 CVE-2025-53906
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. Prior to version 9.1.1552, a path traversal issue in Vim’s tar.vim plugin can allow overwriting of arbitrary files when opening specially crafted tar archives. Impact is low because this exploit requires direct user interaction. However, successfully exploitation can lead to overwriting sensitive files or placing executable code in privileged locations, depending on the permissions of the process editing the archive. The victim must edit such a file using Vim which will reveal the filename and the file content, a careful user may suspect some strange things going on. Successful exploitation could results in the ability to execute arbitrary commands on the underlying operating system. Version 9.1.1552 contains a patch for the vulnerability.(CVE-2025-53905)
A vulnerability, which was classified as critical, has been found in vim up to 9.1.1550 (Word Processing Software).Using CWE to declare the problem leads to CWE-22. The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.Impacted is confidentiality, integrity, and availability.Upgrading to version 9.1.1551 eliminates this vulnerability. Applying the patch 586294a04179d855c3d1d4ee5ea83931963680b8 is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.(CVE-2025-53906)
cve名称 | 产品 | 组件 | 是否受影响 |
---|---|---|---|
CVE-2025-53905 | V6 | vim | Fixed |
CVE-2025-53906 | V6 | vim | Fixed |
软件名称 | 架构 | 版本号 |
---|---|---|
vim-filesystem | noarch | 9.0.2092-20.ks6 |
vim-X11 | x86_64 | 9.0.2092-20.ks6 |
vim-common | x86_64 | 9.0.2092-20.ks6 |
vim-enhanced | x86_64 | 9.0.2092-20.ks6 |
vim-minimal | x86_64 | 9.0.2092-20.ks6 |
vim-X11 | aarch64 | 9.0.2092-20.ks6 |
vim-common | aarch64 | 9.0.2092-20.ks6 |
vim-enhanced | aarch64 | 9.0.2092-20.ks6 |
vim-minimal | aarch64 | 9.0.2092-20.ks6 |
方法一:下载安装包进行升级安装
1、通过下载链接下载需要升级的升级包保存,如 xxx.rpm
2、通过rpm命令升级,如 rpm -Uvh xxx.rpm
方法二:通过软件源进行升级安装
1、保持能够连接上互联网
2、通过yum命令升级指定的包,如 yum install 包名