Get ahead
VMware offers training and certification to turbo-charge your progress.
Learn moreSpring Cloud Gateway's JsonToGrpc filter creates a new Netty-backed gRPC ManagedChannel for every HTTP request that matches a route using the filter. The channel is never shut down or reused, so its socket and channel resources remain open after the request completes.
An unauthenticated attacker who can reach a route that uses the JsonToGrpc filter can send repeated requests and cause the gateway to retain open sockets and channel resources, resulting in a denial of service. Applications are affected only if they expose a route configured with the JsonToGrpc filter.
Spring Cloud Gateway:
| Fix version | Availability |
|---|---|
| 5.0.5 | OSS |
| 5.0.4.1 | Enterprise Support Only |
| 4.3.7 | Enterprise Support Only |
| 4.2.11 | Enterprise Support Only |
| 3.1.15 | Enterprise Support Only |
No further mitigation steps are necessary.
This vulnerability was discovered and responsibly reported by https://lzhou1110.github.io/[Liyi], https://zyy0530.github.io/[Ziyue], https://str1ckl4nd.github.io/[Strick], http://maurice.busystar.org/[Maurice], and https://7thparkk.github.io/[Chenchen].
To report a security vulnerability for a project within the Spring portfolio, see the Security Policy