漏洞信息
尽管我们使用了先进的大模型技术,但其输出仍可能包含不准确或过时的信息。神龙努力确保数据的准确性,但请您根据实际情况进行核实和判断。
Vulnerability Title
Shescape: Shell injection via unescaped parentheses on Windows with CMD
Vulnerability Description
Shescape is a simple shell escape library for JavaScript. Prior to 2.1.14 and 3.0.1, getEscapeFunction in src/internal/win/cmd.js does not escape `(` and `)` when applications use the escape or escapeAll APIs on Windows with shell set to cmd.exe, or with shell set to true when CMD is the default. An attacker-controlled argument can break out of a parenthesized CMD construct and inject shell syntax depending on the original command, resulting in arbitrary command execution. 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:H/VI:H/VA:H/SC:N/SI:N/SA:N
Vulnerability Type
OS命令中使用的特殊元素转义处理不恰当(OS命令注入)
Vulnerability Title
Eric Cornelissen Shescape 输入验证错误漏洞
Vulnerability Description
Eric Cornelissen Shescape是Eric Cornelissen个人开发者开源的一个Shell转义工具库。 Eric Cornelissen Shescape 2.1.14之前版本和3.0.0至3.0.1之前版本存在安全漏洞,该漏洞源于src/internal/win/cmd.js中的getEscapeFunction函数未对`(`和`)`进行转义,可能导致攻击者控制的参数突破括号CMD结构并注入shell语法,造成任意命令执行。
CVSS Information
N/A
Vulnerability Type
N/A