Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring for GraphQL is vulnerable to Denial of Service attacks when using the WebSocket client with keepAlive enabled.
More precisely, an application is vulnerable when all the following are true:
WebSocketGraphQlClient to query a GraphQL APIkeepAlive option is configured on the clientWhen all the conditions above are met, an attacker may exhaust application memory, resulting in a Denial of Service. For this, the attacker needs to control the GraphQL server or perform a Man-in-the-Middle attack on the WebSocket connection.
Spring for GraphQL:
| Fix version | Availability |
|---|---|
| 2.0.5 | OSS |
| 2.0.4.1 | Enterprise Support Only |
| 1.4.7 | Enterprise Support Only |
| 1.3.10 | Enterprise Support Only |
No further mitigation steps are necessary.
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy