GHSA-m425-mq94-257g: Google.golang.org/grpc GRPC-Go HTTP/2 Rapid Reset Vulnerability Vulnerability

HIGH
CVSS 7.5
Published
Advisory Summary

GHSA-m425-mq94-257g is a HIGH (CVSS 7.5) grpc-go http/2 rapid reset vulnerability vulnerability (General Security Weakness) affecting Google.golang.org/grpc libraries in the Go ecosystem. The issue involves grpc-go http/2 rapid reset vulnerability. Remediation is available by upgrading affected packages to version 1.56.3, 1.57.1, 1.58.3.

GHSA-m425-mq94-257g at a Glance

CVE Identifier N/A
GHSA Identifier GHSA-m425-mq94-257g
Severity HIGH
CVSS v3.1 Base Score 7.5
CWE Classification General Security Weakness
Affected Product Google.golang.org/grpc
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 7.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality None (C:N)
Integrity None (I:N)
Availability High (A:H)

How to Fix GHSA-m425-mq94-257g

To remediate this vulnerability, upgrade all affected Google.golang.org/grpc dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

google.golang.org/grpc fixed: 1.56.3
Upgrade google.golang.org/grpc to 1.56.3
google.golang.org/grpc fixed: 1.57.1
Upgrade google.golang.org/grpc to 1.57.1
google.golang.org/grpc fixed: 1.58.3
Upgrade google.golang.org/grpc to 1.58.3
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for google.golang.org/grpc

How to Check if You Are Affected

To determine whether your application is affected by GHSA-m425-mq94-257g, inspect your project dependencies for Google.golang.org/grpc:

inspect dependencies for google.golang.org/grpc

Analyze the terminal output to locate any version of Google.golang.org/grpc in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 1.56.3), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under General Security Weakness. In Google.golang.org/grpc, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### 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

GHSA-m425-mq94-257g Affected Google.golang.org/grpc Versions

3 component(s)
Fixed Versions:
1.56.31.57.11.58.3
Product / Package Ecosystem Affected Versions Fixed Version
google.golang.org/grpc
Go
< 1.56.3
1.56.3
google.golang.org/grpc
Go
≥ 1.57.0
< 1.57.1
1.57.1
google.golang.org/grpc
Go
≥ 1.58.0
< 1.58.3
1.58.3

References

Frequently Asked Questions

What is GHSA-m425-mq94-257g?
GHSA-m425-mq94-257g is a security vulnerability in Google.golang.org/grpc involving gRPC-Go HTTP/2 Rapid Reset vulnerability under General Security Weakness.
Which Google.golang.org/grpc versions are affected?
Affected versions include releases prior to 1.56.3, 1.57.1, 1.58.3 across affected packages: google.golang.org/grpc.
What version fixes GHSA-m425-mq94-257g?
Upgrading to 1.56.3, 1.57.1, 1.58.3 (or the latest patched release for your respective branch) resolves the vulnerability.
Is google.golang.org/grpc affected?
Yes, google.golang.org/grpc is affected in releases prior to 1.56.3, 1.57.1, 1.58.3. Upgrade your dependency to 1.56.3, 1.57.1, 1.58.3 or later.
What is the CVSS score of GHSA-m425-mq94-257g?
GHSA-m425-mq94-257g has a CVSS v3.1 base score of 7.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H.
What CWE is associated with GHSA-m425-mq94-257g?
GHSA-m425-mq94-257g is classified under General Security Weakness.
How can I check Go dependencies for GHSA-m425-mq94-257g?
Run the dependency tree command: 'inspect dependencies for google.golang.org/grpc'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-m425-mq94-257g",
  "modified" : "2024-07-19T16:32:30Z",
  "published" : "2023-10-25T21:17:37Z",
  "aliases" : [ ],
  "summary" : "gRPC-Go HTTP/2 Rapid Reset vulnerability",
  "details" : "### Impact\nIn 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.\n\n### Patches\nThis 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.\n\nAlong 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.\n\n### Workarounds\nNone.\n\n### References\n#6703\n",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "google.golang.org/grpc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "1.56.3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "google.golang.org/grpc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.57.0"
      }, {
        "fixed" : "1.57.1"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Go",
      "name" : "google.golang.org/grpc"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "1.58.0"
      }, {
        "fixed" : "1.58.3"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-go/security/advisories/GHSA-m425-mq94-257g"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2023-44487"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-go/pull/6703"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/grpc/grpc-go/commit/f2180b4d5403d2210b30b93098eb7da31c05c721"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/grpc/grpc-go"
  } ],
  "database_specific" : {
    "cwe_ids" : [ ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2023-10-25T21:17:37Z",
    "nvd_published_at" : null
  }
}