漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Vim: Arbitrary Code Execution via Python Omni-Completion Docstrings
Vulnerability Description
Vim is an open source, command line text editor. Prior to 9.2.0699, Vim's Python omni-completion (runtime/autoload/python3complete.vim and the legacy pythoncomplete.vim) executes reconstructed function and class definitions from the current buffer with exec() as part of populating the completion dictionary. When reconstructing that source, each scope's docstring is inserted verbatim between triple quotes with no escaping, so a hostile buffer can break out of the triple-quoted literal and execute attacker-controlled Python during omni-completion. This vulnerability is fixed in 9.2.0699.
CVSS Information
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
对生成代码的控制不恰当(代码注入)
Vulnerability Title
Vim 代码注入漏洞
Vulnerability Description
Vim是Vim组织开源的一款跨平台的文本编辑器。 Vim 9.2.0699之前版本存在代码注入漏洞,该漏洞源于Python自动完成功能在重构源代码时未对docstring进行转义,可能导致恶意缓冲区在自动完成过程中执行攻击者控制的Python代码。
CVSS Information
N/A
Vulnerability Type
N/A