Vulnerability Information
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
Vulnerability Title
Zed: Remote Command Injection via Unquoted Environment Variable Keys (SSH / WSL Remote)
Vulnerability Description
Zed is a code editor. Prior to 0.227.1, Zed builds SSH/WSL remote commands as a shell command string that starts with exec env ..., but environment variable keys are inserted without shell quoting or validation. If an attacker can control an environment variable key (for example via project terminal settings), shell expansions in the key (such as $(...)) are evaluated by the remote shell when a terminal is opened. This can lead to arbitrary command execution on the remote host under the victim user's account. This vulnerability is fixed in 0.227.1.
CVSS Information
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Zed 安全漏洞
Vulnerability Description
Zed是Zed Industries开源的一个代码编辑器。 Zed 0.227.1之前版本存在安全漏洞,该漏洞源于SSH/WSL远程命令构建时未对环境变量键进行shell引用或验证,可能导致攻击者控制的环境变量键在远程主机上执行任意命令。
CVSS Information
N/A
Vulnerability Type
N/A