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.
knowns の code.replace MCP アクションに含まれる handleCodeReplace() 関数の脆弱性で、攻撃者がプロジェクトのルート外にあるファイルを上書きできます。シェルの起動スクリプトや SSH の設定ファイルが改ざんされるおそれがあり、深刻度は高とされています。0.30.0 以降に更新してください。
handleCodeReplace()関数におけるパストラバーサルの脆弱性です。
knowns バージョン0.30.0未満
攻撃者は任意のファイルを上書きでき、システム全体に影響を及ぼす可能性があります。
バージョン0.30.0にアップデートしてください。
入力を検証し、ディレクトリトラバーサルのパターンを除外するルールを設けます。
プロジェクトルート外のファイルが上書きされていないかログを確認します。
Original description The description as published by the source.
knowns versions before 0.30.0 contain a path traversal vulnerability in the handleCodeReplace() function that allows attackers to overwrite arbitrary files outside the project root. Attackers can supply absolute paths or relative paths containing directory traversal sequences to write malicious content to sensitive files like shell startup scripts or SSH configuration files.
Source: NIST National Vulnerability Database NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory vulncheck.com
- advisory nvd.nist.gov
- advisory github.com
- patch github.com
- web github.com
- web github.com