Unbounded persistent session allocation via repeated initialize requests
Spring AI
Affected versions
| Product | Affected | Fixed in |
|---|---|---|
| Spring Spring AI |
| No fix yet |
Original description
The MCP Streamable HTTP server transport (WebFlux and WebMvc variants) does not place any limit on the number of sessions it retains, and by default does not require clients to be authenticated. As a result, a remote attacker can cause the server to accumulate an unbounded number of sessions over time, gradually exhausting available memory and ultimately causing a Denial of Service that affects all legitimate clients. Affected versions: Spring AI: 2.0.0
From the CVE record · vmware