| 제목 | 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. PM 04:33 (1 월 ago) |
|---|
| 모더레이션 | 2026. 07. 21. PM 06:05 (1 month later) |
|---|
| 상태 | 수락 |
|---|
| VulDB 항목 | 380948 [umijs umi 까지 4.6.63 GIT File Helper getFileGitIno.ts git.getFileCreateInfo 권한 상승] |
|---|
| 포인트들 | 20 |
|---|