Impact
The MCP Ruby SDK allows an unlimited JSON‑RPC POST body to be read and parsed by the StreamableHTTPTransport component before version 0.23.0. Because no size limit is enforced, an attacker can send an excessively large request that consumes available process memory, potentially causing the application to crash or become unresponsive. This constitutes an uncontrolled memory allocation flaw identified as CWE-770.
Affected Systems
The vulnerable component is part of the Model Context Protocol Ruby SDK (vendor modelcontextprotocol). Versions prior to 0.23.0 are affected; the issue was fixed in release v0.23.0.
Risk and Exploitability
The vulnerability carries a CVSS score of 7.5, indicating high severity. The EPSS score is below 1%, suggesting a low current exploitation probability, and it is not listed in the CISA KEV catalog. The likely attack vector is a remote unauthenticated attacker sending an excessively large JSON‑RPC request over HTTP. The unbounded request causes uncontrolled memory allocation, which can exhaust process memory and potentially crash or render the application unresponsive.
OpenCVE Enrichment
Github GHSA