Channelz v2 QueryTrace denial-of-service flaw fixed
highAn untrusted caller able to send RPCs to grpc.channelz.v2.Channelz could stop the server process or block its worker threads. QueryTrace now checks its arguments, and server resources are released when the caller cancels the RPC.
Show release-note lines
Your server is affected only if both of these are true: - Your gRPC C++ server activates Channelz with `grpc::channelz::experimental::InitChannelzService()`. - An untrusted caller can send RPCs to the Channelz v2 service (`grpc.channelz.v2.Channelz`). gRPC C++ did not correctly check the arguments and the state of the `QueryTrace` RPC. A remote caller can send `QueryTrace` requests that stop the server process or keep server worker threads blocked. This causes a denial of service (DoS). The fix checks the `QueryTrace` arguments and releases server resources when the caller cancels the RPC. - Do not call `grpc::channelz::experimental::InitChannelzService()` in production servers. - Block access to `grpc.channelz.v2.Channelz` from untrusted callers. Use authentication, an authorization policy, or a network rule.github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj
A denial of service (DoS) vulnerability was found and fixed in the gRPC C++ Channelz v2 service.github.com/grpc/grpc/security/advisories/GHSA-mp3j-8555-cjpj