Zukeの脆弱性、レジストリの書き手が任意のプログラムを実行できる
Summary
Zukeの1.51.0より前のバージョンには、MCPのレジストリモードでコマンド形式のレジストリ記述子が起動ポリシーを通らずに実行される脆弱性があります。書き込み権限を持つ第三者が実行されるプログラムと引数を選べ、運用者の環境とワークスペースへアクセスされるおそれがあります。修正版の1.51.0に更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Zukeの1.51.0より前のバージョンには、MCPのレジストリモードでコマンド形式のレジストリ記述子が起動ポリシーを通らずに実行される脆弱性があります。書き込み権限を持つ第三者が実行されるプログラムと引数を選べ、運用者の環境とワークスペースへアクセスされるおそれがあります。修正版の1.51.0に更新してください。
Original description The description as published by the source.
Zuke is a code-first, strongly typed build automation system for Deno. Prior to 1.51.0, the @zuke/core MCP registry mode accepts command-form registry descriptors without applying the ZUKE_REGISTRY_LAUNCH_HOSTS authorization enforced for remote module descriptors. When zuke mcp --registry --allow-run reads a registry writable by another party and a run-capable caller invokes the affected tool, the registry writer can choose the program and arguments executed with the operator's environment and workspace access. The --allow-run and --protect name globs do not contain the issue because the descriptor supplies those names, and the optional destructive confirmation displays a description controlled by the same writer. The local default registry populated only through zuke register is not affected because that command writes module-form descriptors. This issue is fixed in version 1.51.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory nvd.nist.gov
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com
- web security-advisories@github.com