MCP TypeScript SDKで別セッションのタスクを閲覧・取消される不具合
Summary
MCP TypeScript SDKの実験的機能tasksで、タスクを作成したセッションを確認しない不具合が見つかりました。複数のクライアントが同じInMemoryTaskStoreを使うと、他のクライアントのタスクを一覧表示・読み取り・取消できてしまいます。影響を受けるのは@modelcontextprotocol/sdkの1.24.0から1.31.0で、1.32.0以降に更新してください。すぐに更新できない場合はtaskStoreの利用をやめてください。
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.
MCP TypeScript SDKの実験的機能tasksで、タスクを作成したセッションを確認しない不具合が見つかりました。複数のクライアントが同じInMemoryTaskStoreを使うと、他のクライアントのタスクを一覧表示・読み取り・取消できてしまいます。影響を受けるのは@modelcontextprotocol/sdkの1.24.0から1.31.0で、1.32.0以降に更新してください。すぐに更新できない場合はtaskStoreの利用をやめてください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| npm@modelcontextprotocol/sdk |
≥ 1.24.0, < 1.32.0→ 1.32.0 |
1.32.0 |
| modelcontextprotocoltypescript-sdk | — | Not listed |
Original description The description as published by the source.
MCP TypeScript SDK is the official TypeScript SDK for Model Context Protocol servers and clients. From version 1.24.0 to before version 1.32.0, the experimental tasks feature (taskStore) did not check which session created a task. Clients sharing one InMemoryTaskStore could list, read and cancel each other's tasks. This issue has been patched in version 1.32.0.
Source: GitHub Security Advisories (Global) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- patch github.com
- REDHAT Red Hat
- web github.com