漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Shescape: Home-directory disclosure in assignment context on Unix with Dash
Vulnerability Description
Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/unix/dash.js fails to escape ~ after : or = when applications use the escape or escapeAll APIs on Unix with shell set to dash, or with shell set to true when Dash is the default, and interpolate the result into an assignment prefixed to a command. An attacker who controls the input can supply a value such as :~ to disclose the home-directory path and may change the location on which the command operates. This issue is fixed in versions 2.1.14 and 3.0.1.
CVSS Information
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N
Vulnerability Type
对输出编码和转义不恰当
Vulnerability Title
ericcornelissen shescape 输出处理不当漏洞
Vulnerability Description
ericcornelissen shescape是ericcornelissen个人开发者的一个安全转义shell命令参数的组件。 ericcornelissen shescape 2.1.14之前版本和3.0.0至3.0.1之前版本存在安全漏洞,该漏洞源于在Unix Dash shell环境下getEscapeFunction未能转义冒号或等号后的波浪号,可能导致攻击者泄露主目录路径并改变命令操作位置。
CVSS Information
N/A
Vulnerability Type
N/A