| タイトル | Node.js check-peer-dependencies 4.3.4 OS Command Injection |
|---|
| 説明 | [email protected] is vulnerable to OS command injection when processing package names from peerDependencies.
The package reads dependency names from package.json and later interpolates those names into shell command strings. When --findSolutions is enabled, a malicious dependency name is passed into an npm view <package> versions command. Because the command is executed through shelljs.exec(), shell metacharacters in the dependency name are interpreted by the operating system shell.
The same data flow can also affect installation flows: generated npm install / yarn add command strings are later executed through shelljs.exec() when --install is used.
The PoC was verified against the current npm latest version 4.3.4. |
|---|
| ソース | ⚠️ https://github.com/christopherthielen/check-peer-dependencies/issues/74 |
|---|
| ユーザー | Dremig (UID 95003) |
|---|
| 送信 | 2026年06月07日 08:41 (1 月 ago) |
|---|
| モデレーション | 2026年07月08日 09:36 (1 month later) |
|---|
| ステータス | 承諾済み |
|---|
| VulDBエントリ | 376784 [christopherthielen check-peer-dependencies 迄 4.3.4 peerDependencies dist/packageUtils.js shelljs.exec 特権昇格] |
|---|
| ポイント | 20 |
|---|