脆弱性情報
高度な大規模言語モデル技術を使用していますが、出力には不正確または古い情報が含まれる可能性があります。Shenlongはデータの正確性を確保するよう努めていますが、実際の状況に基づいて検証・判断してください。
脆弱性タイトル
Exposure of home directory through shescape on Unix with Bash
脆弱性説明
Shescape is a shell escape package for JavaScript. An issue in versions 1.4.0 to 1.5.1 allows for exposure of the home directory on Unix systems when using Bash with the `escape` or `escapeAll` functions from the _shescape_ API with the `interpolation` option set to `true`. Other tested shells, Dash and Zsh, are not affected. Depending on how the output of _shescape_ is used, directory traversal may be possible in the application using _shescape_. The issue was patched in version 1.5.1. As a workaround, manually escape all instances of the tilde character (`~`) using `arg.replace(/~/g, "\\~")`.
CVSS情報
CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
脆弱性タイプ
信息暴露
脆弱性タイトル
Shescape 操作系统命令注入漏洞
脆弱性説明
Shescape是开源的一个用于JavaScript的简单外壳转义程序包。使用它可以将用户控制的输入转义给shell命令,以防止shell注入。 Shescape 1.4.0到1.5.1版本存在操作系统命令注入漏洞,该漏洞源于使用Bash和shescape API中的 escape 或 escapeAll 函数并将 interpolation 选项设为 true 时,Unix系统上的主目录会被暴露。攻击者可以在使用shescape的应用程序中进行目录遍历。
CVSS情報
N/A
脆弱性タイプ
N/A