提出 #860211: Node.js danger 13.0.7 OS Command Injection情報

タイトルNode.js danger 13.0.7 OS Command Injection
説明[email protected] appears to allow shell command injection during the public danger local workflow when a Dangerfile calls danger.git.diffForFile() on changed file paths. The issue is triggered through the CLI, not by importing internal modules directly: danger local --staging --dangerfile Dangerfile.js --text-only -> LocalGit.getPlatformGitRepresentation() -> Dangerfile calls danger.git.diffForFile(file) -> localGetFileAtSHA(file, repo, sha) -> child_process.exec(`git show ${sha}:"${path}"`) If a changed file path contains a double quote and shell metacharacters, the path breaks out of the quoted git show argument and the shell executes the injected command.
ソース⚠️ https://github.com/danger/danger-js/pull/1513
ユーザー
 wjm2 (UID 99050)
送信2026年06月16日 19:20 (1 月 ago)
モデレーション2026年07月22日 18:02 (1 month later)
ステータス承諾済み
VulDBエントリ382377 [danger danger-js 迄 13.0.7 CLI localGetFileAtSHA.ts danger.git.diffForFile ファイル 特権昇格]
ポイント20

Interested in the pricing of exploits?

See the underground prices here!