| タイトル | Node.js @umijs/utils 4.6.63 OS Command Injection |
|---|
| 説明 | @umijs/utils exposes git helper functions through the package's top-level export:
const { git } = require("@umijs/utils");
The exported git.getFileCreateInfo() and git.getFileLastModifyInfo() functions pass a user-controlled filePath argument to cross-spawn while setting shell: true. With shell: true, Node/cross-spawn concatenates arguments into a shell command, so shell metacharacters in filePath are interpreted by the shell.
This allows command injection when these helpers are called with an untrusted or attacker-controlled file path.
|
|---|
| ソース | ⚠️ https://github.com/umijs/umi/issues/13345 |
|---|
| ユーザー | wjm2 (UID 99050) |
|---|
| 送信 | 2026年06月16日 16:33 (1 月 ago) |
|---|
| モデレーション | 2026年07月21日 18:05 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 380948 [umijs umi 迄 4.6.63 GIT File Helper getFileGitIno.ts git.getFileCreateInfo 特権昇格] |
|---|
| ポイント | 20 |
|---|