• 公告ID (KylinSec-SA-2024-3621)

摘要:

Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid by pointing beyond the end ofa line. Back then we assumed this loop is unnecessary. However, this change made it possible that the cursor position stays invalid and points beyond the end of a line, which would eventually cause a heap-buffer-overflow when trying to access the line pointer atthe specified cursor position. It s not quite clear yet, what can lead to this situation that the cursor points to an invalid position. That s why patch v9.1.0707 does not include a test case. The only observed impact has been a program crash. This issue has been addressed in with the patch v9.1.0707. All users are advised to upgrade.

安全等级: Low

公告ID: KylinSec-SA-2024-3621

发布日期: 2024年9月5日

关联CVE: CVE-2024-45306  

  • 详细介绍

1. 漏洞描述

   

Vim is an open source, command line text editor. Patch v9.1.0038 optimized how the cursor position is calculated and removed a loop, that verified that the cursor position always points inside a line and does not become invalid by pointing beyond the end ofa line. Back then we assumed this loop is unnecessary. However, this change made it possible that the cursor position stays invalid and points beyond the end of a line, which would eventually cause a heap-buffer-overflow when trying to access the line pointer atthe specified cursor position. It s not quite clear yet, what can lead to this situation that the cursor points to an invalid position. That s why patch v9.1.0707 does not include a test case. The only observed impact has been a program crash. This issue has been addressed in with the patch v9.1.0707. All users are advised to upgrade.

2. 影响范围

cve名称 产品 组件 是否受影响
CVE-2024-45306 KY3.4-5A vim Unaffected
CVE-2024-45306 KY3.5.2 vim Unaffected
CVE-2024-45306 V6 vim Unaffected

3. 影响组件

    无

4. 修复版本

    无

5. 修复方法

   无

6. 下载链接

    无
上一篇:KylinSec-SA-2024-3620 下一篇:KylinSec-SA-2024-3584