better-npm-audit 3.11.0 及以下版本,以及 4.0.0-rc.2 预发布版本中,存在命令注入漏洞。该漏洞源于程序在 文件中构建 npm audit 命令时,直接将用户提供的 选项值插值到命令字符串中,未进行任何验证或引号包裹。随后,该命令字符串通过 中的 执行,从而启动一个 shell。若 registry 值中包含 shell 元字符(如分号、管道符或命令替换符),将导致攻击者能够以运行审计工具的进程权限执行任意操作系统命令。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| jeemok | better-npm-audit | ≤ 3.11.0 |
affected |
4.0.0-rc.2 |
affected |
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.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| jeemok | better-npm-audit | 0 ~ 3.11.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No comments yet