Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. google.golang.org/grpc
  4. ›
  5. GMS-2023-3788

GMS-2023-3788: gRPC-Go HTTP/2 Rapid Reset vulnerability

October 25, 2023

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

References

  • github.com/advisories/GHSA-m425-mq94-257g
  • github.com/grpc/grpc-go/commit/f2180b4d5403d2210b30b93098eb7da31c05c721
  • github.com/grpc/grpc-go/pull/6703
  • github.com/grpc/grpc-go/security/advisories/GHSA-m425-mq94-257g

Code Behaviors & Features

Detect and mitigate GMS-2023-3788 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 1.56.3, all versions starting from 1.57.0 before 1.57.1, all versions starting from 1.58.0 before 1.58.3

Fixed versions

  • 1.56.3
  • 1.57.1
  • 1.58.3

Solution

Upgrade to versions 1.56.3, 1.57.1, 1.58.3 or above.

Source file

go/google.golang.org/grpc/GMS-2023-3788.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:16:14 +0000.