GHSA-m425-mq94-257g: Google.golang.org/grpc GRPC-Go HTTP/2 Rapid Reset Vulnerability Vulnerability
HIGHGHSA-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
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).
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.
Upgrade google.golang.org/grpc to 1.56.3
Upgrade google.golang.org/grpc to 1.57.1
Upgrade google.golang.org/grpc to 1.58.3
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
GHSA-m425-mq94-257g Affected Google.golang.org/grpc Versions
3 component(s)| 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?
Which Google.golang.org/grpc versions are affected?
What version fixes GHSA-m425-mq94-257g?
Is google.golang.org/grpc affected?
What is the CVSS score of GHSA-m425-mq94-257g?
What CWE is associated with GHSA-m425-mq94-257g?
How can I check Go dependencies for GHSA-m425-mq94-257g?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"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
}
}