Channelz v2 QueryTrace 서비스 거부 결함 수정
high신뢰할 수 없는 호출자가 grpc.channelz.v2.Channelz로 RPC를 보낼 수 있으면 서버 프로세스를 중단시키거나 작업 스레드를 차단할 수 있었습니다. 이제 QueryTrace가 인수를 검증하며, 호출자가 RPC를 취소하면 서버 리소스가 해제됩니다.
원문 보기
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