Security: Fix multiple CVEs — grpc, x/net, x/text, hashicorp, cloudevents, prometheus (release-0.8.x) - #2937
Closed
theakshaypant wants to merge 1 commit into
Closed
theakshaypant wants to merge 1 commit into
theakshaypant wants to merge 1 commit into
Conversation
Fixes the following CVEs on release-0.8.x: - CVE-2026-33186 (GHSA-p77j-4mvh-x3m3): gRPC-Go authorization bypass google.golang.org/grpc v1.44.0 → v1.82.1 - CVE-2026-5970 (GO-2026-5970): golang.org/x/text vulnerability golang.org/x/text v0.3.7 → v0.40.0 - GO-2026-5026 / GO-2026-4918: golang.org/x/net vulnerabilities golang.org/x/net → v0.57.0 - CVE-2024-6104 (GO-2024-2947): hashicorp/go-retryablehttp info leak github.com/hashicorp/go-retryablehttp v0.6.8 → v0.7.7 - GO-2024-2618: cloudevents/sdk-go vulnerability github.com/cloudevents/sdk-go/v2 v2.8.0 → v2.15.2 - GO-2022-0322: prometheus/client_golang vulnerability github.com/prometheus/client_golang v1.11.0 → v1.11.1 Resolves: SRVKP-12834 Co-Authored-By: Claude Sonnet 4.6 (1M context) <noreply@anthropic.com>
theakshaypant
deleted the
fix/cve-stdlib-grpc-text-net-release-0.8.x-attempt-1
branch
August 25, 2026 07:21
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.
Summary
This PR fixes 6 CVEs on the
release-0.8.xbranch by upgrading affected dependencies to their patched versions.CVE Details
CVE-2026-33186 (Critical): gRPC-Go authorization bypass via missing leading slash in
:path.GO-2026-5970: golang.org/x/text vulnerability affecting Unicode processing.
GO-2026-5026/GO-2026-4918: golang.org/x/net vulnerabilities in HTTP/2 and network handling.
CVE-2024-6104: hashicorp/go-retryablehttp logs sensitive Authorization headers.
GO-2024-2618: CloudEvents SDK vulnerability.
GO-2022-0322: Prometheus client_golang HTTP/2 vulnerability.
Changes Made
go.modto use patched dependency versionsgo mod tidy && go mod verifygo mod vendorgo build ./...passes ✅go test ./pkg/...passes (1 pre-existing gitlab test failure unrelated to this change)Test Results
Status: ✅ Build passes
govulncheck post-fix: CVE-2026-33186, GO-2026-5970, GO-2026-5026, GO-2026-4918, GO-2024-2947, GO-2024-2618, GO-2022-0322 — all resolved ✅
Remaining: 11 Go stdlib CVEs require Go toolchain 1.26.6 — not applicable to this old release line using
go 1.17.Jira Issues
Resolves: SRVKP-12834
Risk Assessment
Risk: Medium — grpc upgrade spans many versions (v1.44 → v1.82) but maintains backward compatibility. Build and unit tests pass.
🤖 Generated by CVE Fixer Workflow