code-mcpのMCPファイルサーバーにパストラバーサルの脆弱性、外部から任意のファイルにアクセスされるおそれ
Summary
54yyyu の code-mcp は、MCP File Handler の is_safe_path 関数でパストラバーサルの脆弱性があり、遠隔から攻撃される可能性があります。脆弱性の詳細が公開されており、悪用されるおそれがあります。開発元は問題の報告を受けたものの、まだ応答していないため、修正版は公表されていません。最新の情報を確認してください。
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.
54yyyu の code-mcp は、MCP File Handler の is_safe_path 関数でパストラバーサルの脆弱性があり、遠隔から攻撃される可能性があります。脆弱性の詳細が公開されており、悪用されるおそれがあります。開発元は問題の報告を受けたものの、まだ応答していないため、修正版は公表されていません。最新の情報を確認してください。
Original description The description as published by the source.
A vulnerability has been found in 54yyyu code-mcp up to 4cfc4643541a110c906d93635b391bf7e357f4a8. The affected element is the function is_safe_path of the file src/code_mcp/server.py of the component MCP File Handler. Such manipulation leads to path traversal. It is possible to launch the attack remotely. The exploit has been disclosed to the public and may be used. This product takes the approach of rolling releases to provide continious delivery. Therefore, version details for affected and updated releases are not available. The project was informed of the problem early through an issue report but has not responded yet.
References
- advisory github.com
- advisory nvd.nist.gov
- web cna@vuldb.com
- web cna@vuldb.com
- web cna@vuldb.com
- web cna@vuldb.com
- web cna@vuldb.com