目标达成 感谢每一位支持者 — 我们达成了 100% 目标!

目标: 1000 元 · 已筹: 1336

100%

CVE-2024-43802— Vim 安全漏洞

一分钟漏洞结论

影响对象
vim vim
利用判断
尚无明确在野利用证据,仍需结合暴露面评估
建议动作
优先检查厂商安全公告和参考链接中的修复版本;无法立即升级时,限制受影响服务暴露并加强监测。

Vim是Vim开源的一款跨平台的文本编辑器。 Vim 9.1.0697之前版本存在安全漏洞,该漏洞源于未检查缓冲区中是否有足够的空间来处理下一个字符,导致堆缓冲区溢出。

CVSS 4.5 · Medium EPSS 0.30% · P22
获取后续新漏洞提醒 登录后订阅

一、 漏洞 CVE-2024-43802 基础信息

漏洞信息

对漏洞内容有疑问?看看神龙的深度分析是否有帮助!
查看神龙十问 ↗

尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。

Vulnerability Title
heap-buffer-overflow in ins_typebuf() in Vim < 9.1.0697
来源: CVE Program / CVE List V5
Vulnerability Description
Vim is an improved version of the unix vi text editor. When flushing the typeahead buffer, Vim moves the current position in the typeahead buffer but does not check whether there is enough space left in the buffer to handle the next characters. So this may lead to the tb_off position within the typebuf variable to point outside of the valid buffer size, which can then later lead to a heap-buffer overflow in e.g. ins_typebuf(). Therefore, when flushing the typeahead buffer, check if there is enough space left before advancing the off position. If not, fall back to flush current typebuf contents. It's not quite clear yet, what can lead to this situation. It seems to happen when error messages occur (which will cause Vim to flush the typeahead buffer) in comnination with several long mappgins and so it may eventually move the off position out of a valid buffer size. Impact is low since it is not easily reproducible and requires to have several mappings active and run into some error condition. But when this happens, this will cause a crash. The issue has been fixed as of Vim patch v9.1.0697. Users are advised to upgrade. There are no known workarounds for this issue.
来源: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:L/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:L
来源: CVE Program / CVE List V5
Vulnerability Type
堆缓冲区溢出
来源: CVE Program / CVE List V5
Vulnerability Title
Vim 安全漏洞
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Description
Vim是Vim开源的一款跨平台的文本编辑器。 Vim 9.1.0697之前版本存在安全漏洞,该漏洞源于未检查缓冲区中是否有足够的空间来处理下一个字符,导致堆缓冲区溢出。
来源: 中国国家信息安全漏洞库 CNNVD
CVSS Information
N/A
来源: 中国国家信息安全漏洞库 CNNVD
Vulnerability Type
N/A
来源: 中国国家信息安全漏洞库 CNNVD

受影响产品

厂商 产品 影响版本 CPE 订阅
vim vim < 9.1.0697 -

二、漏洞 CVE-2024-43802 的公开POC

# POC 描述 源链接 神龙链接
AI 生成 POC 高级

未找到公开 POC。

登录以生成 AI POC

三、漏洞 CVE-2024-43802 的情报信息

登录查看更多情报信息。

CVE-2024-43802 补丁与修复 (1)

IV. Related Vulnerabilities

V. Comments for CVE-2024-43802

暂无评论


发表评论