MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS)
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| modelcontextprotocol | ruby-sdk | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Modelcontextprotocol | Ruby-sdk |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-7683-3w9x-ch42 | MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS) |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.188% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Modelcontextprotocol
Modelcontextprotocol ruby-sdk |
|
| Vendors & Products |
Modelcontextprotocol
Modelcontextprotocol ruby-sdk |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| Description | 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. | |
| Title | MCP Ruby SDK: Unbounded line buffer in stdio transports leads to memory exhaustion (DoS) | |
| Weaknesses | CWE-400 CWE-770 |
|
| References |
| |
| Metrics |
cvssV3_1
|