MCP Kotlin SDK 在 0.15.0 及之前版本中存在一个未受控内存分配漏洞,该漏洞允许远程客户端耗尽服务器内存。由于 Application.mcpWebSocket 在未设置 maxFrameSize 限制的情况下安装了 Ktor WebSockets,攻击者可以在一个或多个连接上发送声明负载接近 2 GiB 的小帧头,从而强制分配大量堆内存,最终导致拒绝服务(DoS)。
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| modelcontextprotocol | kotlin-sdk | ≤ 0.15.0 |
affected |
Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.
| Vendor | Product | Affected Versions | CPE | Subscribe |
|---|---|---|---|---|
| modelcontextprotocol | kotlin-sdk | 0 ~ 0.15.0 | - |
|
| # | POC Description | Source Link | Shenlong Link |
|---|
No public POC found.
Login to generate AI POCNo comments yet