GHSA-jjc5-fp7p-6f8w · 深刻度: high · エコシステム: npm — Shescape prior to 1.5.8 vulnerable to insufficient escaping of line feeds for CMD
Shescape is a simple shell escape package for JavaScript. Versions prior to 1.5.8 were found to be subject to code injection on windows. This impacts users that use Shescape (any API function) to escape arguments for cmd.exe on Windows An attacker can omit all arguments following their input by including a line feed character (`'\n'`) in the payload. This bug has been patched in [v1.5.8] which you can upgrade to now. No further changes are required. Alternatively, line feed characters (`'\n'`) can be stripped out manually or the user input can be made the last argument (this only limits the impact).
総合評価: CVE-2022-31179 は悪用リスクが高い(69.1/100)。CVSS 深刻度は高。悪用される可能性が高い(EPSS 1.08%、61 パーセンタイル) 根拠: 公開エクスプロイトが 1 件参照されています(Exploit-DB)。 推奨対応: 公開エクスプロイトが確認されています。影響範囲の確認、緩和策の適用、パッチ適用を優先してください。
リスクは変動します。再評価に基づき、本ページの表示内容を更新しています。
| EDB-ID | ソース | 種別 | 公開 | リンク |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS は日次で悪用されやすさの相対度合いを推定します。パーセンタイルは採点済み CVE の中での相対位置(高いほど相対的に深刻)を示します。
| # | 日付 | 旧 EPSS スコア | 新 EPSS スコア | Δ(新 − 旧) |
|---|---|---|---|---|
| 1 | 2026-06-15 | 0.59% | 1.08% | +0.49% |
| 2 | 2025-08-03 | 0.53% | 0.59% | +0.07% |
| 3 | 2025-08-02 | — | 0.53% | — |
EPSS の全履歴 (全 13 件)
この CVE の CVSS 指標。
| ベーススコア | バージョン | 深刻度 | ベクトル | 悪用しやすさ | 影響 | スコアの出典 |
|---|---|---|---|---|---|---|
| 8.1 | 3.1 | HIGH |
|
2.2 | 5.3 | [email protected] |
| 9.8 | 3.1 | CRITICAL |
|
3.9 | 5.9 | [email protected] |
GHSA-jjc5-fp7p-6f8w · 深刻度: high · エコシステム: npm — Shescape prior to 1.5.8 vulnerable to insufficient escaping of line feeds for CMD
| ベンダー | 製品 | バージョン | 生の CPE |
|---|---|---|---|
| shescape_project | shescape | < 1.5.8 | cpe:2.3:a:shescape_project:shescape:*:*:*:*:*:*:*:* |
| URL | タグ |
|---|---|
| https://github.com/ericcornelissen/shescape/pull/332 | Patch Third Party Advisory |
| https://github.com/ericcornelissen/shescape/releases/tag/v1.5.8 | Release Notes Third Party Advisory |
| https://github.com/ericcornelissen/shescape/security/advisories/GHSA-jjc5-fp7p-6f8w | Exploit Patch Third Party Advisory |