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 の 0.30.0 より前のバージョンでは、MCP ツールの引数に含まれるファイルパスが検証されず、プロジェクト外のファイルを読み取り、作成、上書き、削除される可能性があります。修正版の 0.30.0 以降へ更新してください。
ファイルシステムパスの検証の不備によりディレクトリトラバーサル攻撃が可能。
knownsのバージョン0.30.0未満のMCPツール。
プロジェクトディレクトリ外の任意のファイルにアクセスが可能であり、重大な被害を引き起こす可能性があります。
ファイルシステムパスの検証を強化し、バージョンを0.30.0以降にアップデートしてください。
不正なパスを防ぐために入力引数を手動で検証してください。
MCPツールの使用時に異常なファイルアクセスが発生していないかログを確認してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npmknowns |
< 0.30.0→ 0.30.0 |
0.30.0 |
Original description The description as published by the source.
knowns versions before 0.30.0 fail to validate filesystem paths in MCP tool arguments, allowing attackers to read, create, overwrite and delete files outside the project directory. Attackers can supply path arguments containing directory traversal sequences to access arbitrary Markdown files accessible to the server process.
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
- web github.com