漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Bash-it barbuk Theme 3.2.0 Terminal Escape Sequence Injection via pyproject.toml
Vulnerability Description
Bash-it 3.2.0 contains a terminal escape sequence injection vulnerability in the barbuk theme's Python virtualenv prompt segment that allows local attackers to inject arbitrary terminal control sequences by embedding escape sequences in the requires-python field of a pyproject.toml file. When a user navigates into a directory containing a maliciously crafted pyproject.toml, the unfiltered field value is read via awk and concatenated directly into PS1 through __prompt-command without stripping control characters, causing injected OSC or CSI sequences to be written to and interpreted by the terminal emulator on every prompt render.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N
Vulnerability Type
转义、元或控制序列转义处理不恰当
Vulnerability Title
Bash-it 输入验证错误漏洞
Vulnerability Description
Bash-it是Bash-it组织的一个bash脚本增强框架。 Bash-it 3.2.0及之前版本存在输入验证错误漏洞,该漏洞源于barbuk主题的Python virtualenv提示段对pyproject.toml文件中requires-python字段处理不当,未剥离控制字符即通过awk读取并拼接到PS1,可能导致本地攻击者注入任意终端控制序列。
CVSS Information
N/A
Vulnerability Type
N/A