Bump grpc-go to v1.82.1 in xk6 module for GHSA-hrxh-6v49-42gf - #550
Merged
Conversation
Copilot
AI
changed the title
[WIP] Fix gRPC-Go xDS RBAC and HTTP/2 vulnerabilities
Bump grpc-go to v1.82.1 in xk6 module for GHSA-hrxh-6v49-42gf
Jul 23, 2026
cleverchuk
marked this pull request as ready for review
July 23, 2026 19:32
cleverchuk
approved these changes
Jul 23, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Updates the long-running-test-arch/xk6 Go module dependencies to remediate Dependabot alert GHSA-hrxh-6v49-42gf by moving google.golang.org/grpc off a vulnerable version while keeping dependency churn minimal.
Changes:
- Bumped
google.golang.org/grpcfromv1.80.0tov1.82.1(indirect) inlong-running-test-arch/xk6/go.mod. - Updated
go.sumwith the newgrpcand relatedgenprotochecksums.
Reviewed changes
Copilot reviewed 1 out of 2 changed files in this pull request and generated no comments.
| File | Description |
|---|---|
| long-running-test-arch/xk6/go.mod | Pins google.golang.org/grpc to v1.82.1 (and updates related genproto pseudo-versions) to address the advisory. |
| long-running-test-arch/xk6/go.sum | Adds checksums for the updated module versions used by the new dependency graph. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Tl;dr: Upgraded
google.golang.org/grpcinlong-running-test-arch/xk6fromv1.80.0to patchedv1.82.1(lowest non-vulnerable), with minimal dependency graph churn.Context:
This addresses Dependabot alert GHSA-hrxh-6v49-42gf (xDS RBAC fail-open/panic paths and HTTP/2 rapid reset DoS in grpc-go) by moving off the vulnerable version in the affected manifest.
Dependency remediation
long-running-test-arch/xk6/go.modtogoogle.golang.org/grpc v1.82.1.go.sumentries accordingly (including transitivegenprotobumps from module resolution).Reachability Assessment
long-running-test-arch/xk6/k6_otel.go, usingotlpmetricgrpc.New(...)(client exporter path).Metadata,RequestedServerName,NOTunsupported-field wrappers).Test Plan:
go test ./...inlong-running-test-arch/xk6go list -m google.golang.org/grpcconfirmsv1.82.1Test services data
Original prompt
This section details the Dependabot vulnerability alert you should resolve
<alert_title>gRPC-Go: xDS RBAC and HTTP/2 Vulnerabilities</alert_title>
<alert_description>Multiple security vulnerabilities have been identified and addressed in grpc-go affecting the xDS RBAC authorization engine (internal/xds/rbac) and the HTTP/2 transport server implementation (internal/transport). These vulnerabilities could result in:
MetadataorRequestedServerNamefields.NOTrules around unsupported fields.Impact
What kind of vulnerability is it? Who is impacted?
xDS RBAC Authorization Bypass via
Metadata&RequestedServerNamematcherspermissionandprincipalrules (specificallyMetadataandRequestedServerName) were silently ignored and treated as no-ops.NOTrules (Permission_NotRule/Principal_NotId) or multi-conditionOR/ANDrules, silently dropping them changed the boolean logic flow of the authorization engine.As a result, policy evaluation decisions could fail open, allowing unauthorized clients to access protected gRPC services or resources.
HTTP/2 Rapid Reset Mitigation Bypass / Denial of Service via Stream Aborts
SETTINGSACKs or server-initiatedRST_STREAMs.When a client initiated a rapid flood of stream creation (
HEADERS) immediately followed by stream terminationRST_STREAM, items queued up in the control buffer without counting against the transport response frame threshold. An attacker can repeatedly trigger this flood sequence to bypass reader blocking, resulting in high CPU usage, and Denial of Service (DoS).Denial of Service (Panic) in xDS RBAC Engine via Unsupported Fields inside NOT Rules
NOTrule wrapped an unsupported or unhandled field (such asSourcedMetadata), the recursive step returned an empty matcher. This could result in a runtime panic when the RBAC engine attempts to authorize an incoming request.An attacker or misconfigured/malicious xDS management server delivering an LDS/RDS update containing a
NOTrule around an unhandled field causes the gRPC server process to crash immediately (CWE-248 / Denial of Service).Patches
Has the problem been patched? What versions should users upgrade to?
All three issues have been fixed in
masterand will be released in 1.82.1 shortly.Workarounds
Is there a way for users to fix or remediate the vulnerability without upgrading?
If upgrading grpc-go immediately is not possible, apply the following workarounds based on your deployment architecture:
Metadata,RequestedServerName, orNOTrules wrapping unsupported fields (such asSourcedMetadata) to grpc-go servers.max_concurrent_streamslimits and active rate limiting onRST_STREAMfrequency per connection.Severity
8.27.55.9high
https://github.com/grpc/grpc-go/security/advisories/GHSA-hrxh-6v49-42gf https://github.com/grpc/grpc-go/pull/9236 https://github.com/grpc/grpc-go/commit/4ea465d4ab98013f72a142fe0fc89c19770b2935 https://git...GHSA-hrxh-6v49-42gf
google.golang.org/grpc
go
<vulnerable_versions>= v1.80.0</vulnerable_versions>
<patched_version>1.82.1</patched_version>
<manifest_path>long-running-test-arch/xk6/go.mod</manifest_path>