CVE-2026-63119 MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)
설명
MCP Ruby SDK is the official Ruby SDK for Model Context Protocol servers and clients. Prior to 0.23.0, MCP::Server::Transports::StdioTransport and MCP::Client::Stdio in the mcp gem use IO#gets without a byte limit, allowing a peer that sends data without a newline to exhaust process memory. This issue is fixed in version 0.23.0.
영향 받는 제품 제품 1개
-
해결 버전 있음
modelcontextprotocol
ruby-sdk
영향 받는 버전
- 0.23.0 미만
해결 버전
- 0.23.0 이상
참고 자료 3건
- github.com https://github.com/modelcontextprotocol/ruby-sdk/commit/267b8fa6285453525c81ce43db6b7dcd7a8a8c2f (새 창)
- github.com https://github.com/modelcontextprotocol/ruby-sdk/releases/tag/v0.23.0 (새 창)
- github.com https://github.com/modelcontextprotocol/ruby-sdk/security/advisories/GHSA-7683-3w9x-ch42 (새 창)