Lucene search

K
githubGitHub Advisory DatabaseGHSA-M425-MQ94-257G
HistoryOct 25, 2023 - 9:17 p.m.

gRPC-Go HTTP/2 Rapid Reset vulnerability

2023-10-2521:17:37
GitHub Advisory Database
github.com
60
vulnerability
grpc-go
http/2
rapid reset
attacker
http/2 requests
patch
method handlers
concurrent
stream limit
resources

Impact

In affected releases of gRPC-Go, it is possible for an attacker to send HTTP/2 requests, cancel them, and send subsequent requests, which is valid by the HTTP/2 protocol, but would cause the gRPC-Go server to launch more concurrent method handlers than the configured maximum stream limit.

Patches

This vulnerability was addressed by #6703 and has been included in patch releases: 1.56.3, 1.57.1, 1.58.3. It is also included in the latest release, 1.59.0.

Along with applying the patch, users should also ensure they are using the grpc.MaxConcurrentStreams server option to apply a limit to the server’s resources used for any single connection.

Workarounds

None.

References

#6703

Affected configurations

Vulners
Node
google.golang.orggrpcRange<1.58.3
OR
google.golang.orggrpcRange<1.57.1
OR
google.golang.orggrpcRange<1.56.3
VendorProductVersionCPE
google.golang.orggrpc*cpe:2.3:a:google.golang.org:grpc:*:*:*:*:*:*:*:*