Coder VS Codeの拡張機能に、リポジトリの設定から任意のコマンドを実行される脆弱性
概要
悪意のあるリポジトリを開くと、ワークスペースの設定を通じて攻撃者が指定したコマンドが利用者の権限で実行されるおそれがあります。影響を受けるのはvscode-coder 0.1.20から1.14.6までの版で、修正版は1.14.6です。拡張機能を1.14.6以降に更新してください。
AI要約
SecPulse が外部の生成 AI を使って作った要約です。誤りを含むことがあります。重要な判断の前に、下の原文と参照URLを確認してください。
悪意のあるリポジトリを開くと、ワークスペースの設定を通じて攻撃者が指定したコマンドが利用者の権限で実行されるおそれがあります。影響を受けるのはvscode-coder 0.1.20から1.14.6までの版で、修正版は1.14.6です。拡張機能を1.14.6以降に更新してください。
原文の説明 取得元が公開している説明をそのまま載せています (多くは英語)。
The Coder VS Code extension opens Coder workspaces in VS Code with a single click. From 0.1.20 until 1.14.6, a malicious repository can provide .vscode/settings.json values for security-sensitive Coder settings because the extension permits workspace and folder scope to override those settings. Values such as coder.headerCommand and coder.tlsCertRefreshCommand are later executed as shell commands, while other affected settings can redirect the Coder CLI binary or download source, inject CLI or SSH flags, replace TLS material, disable TLS verification, or change identity and credential-storage behavior. A victim with the extension installed must open the malicious workspace or repository; when the extension activates, attacker-controlled commands can run with the victim user's privileges. The issue also affects untrusted workspaces because the extension declares untrusted-workspace support without preventing consumption of the workspace-controlled settings. This issue is fixed in version 1.14.6.
出典: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
参照URL
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com
- web github.com