Snyk has a proof-of-concept or detailed explanation of how to exploit this vulnerability.
The probability is the direct output of the EPSS model, and conveys an overall sense of the threat of exploitation in the wild. The percentile measures the EPSS probability relative to all known EPSS scores. Note: This data is updated daily, relying on the latest available EPSS model version. Check out the EPSS documentation for more details.
In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.
Test your applicationsLearn about Allocation of Resources Without Limits or Throttling vulnerabilities in an interactive lesson.
Start learningUpgrade mcp to version 0.23.0 or higher.
mcp is a The official Ruby SDK for Model Context Protocol servers and clients
Affected versions of this package are vulnerable to Allocation of Resources Without Limits or Throttling in the handle_initialization path of lib/mcp/server/transports/streamable_http_transport.rb, which creates a ServerSession per initialize request and, because session_idle_timeout defaults to nil, never starts the reaper that would expire them. An attacker can exhaust server memory and cause denial of service by repeatedly sending initialize requests and disconnecting, leaving an unbounded number of ServerSession objects retained with no automatic cleanup. Exploitation requires only network TCP reach to the MCP endpoint and applies under the default configuration where session_idle_timeout is unset, so no session reaper runs and the only removal path is an explicit client-issued HTTP DELETE.
This vulnerability can be avoided by setting the session_idle_timeout parameter to a finite value when instantiating the transport, which starts the reaper thread that expires idle sessions.