Skip to content

fix(deps): bump grpc to 1.83.2 to clear three CVEs - #539

Merged
davidhadas merged 1 commit into
mainfrom
fix/grpc-cve-bump
Sep 18, 2026
Merged

davidhadas merged 1 commit into
mainfrom
fix/grpc-cve-bump

Conversation

@mrsabath

Copy link
Copy Markdown
Contributor

Summary

Clears all three open Dependabot alerts on main. All three are the same package — google.golang.org/grpc, an indirect dependency reached via github.com/spiffe/go-spiffe/v2/workloadapi:

Severity CVE Fixed in
high CVE-2026-84445 1.82.2
high CVE-2026-84304 1.83.1
medium CVE-2026-84303 1.83.1

Bumping grpc 1.82.1 → 1.83.2 clears all three.

Why this instead of #533

Dependabot #533 also fixes these CVEs and its CI is fully green, but it is labeled "minor-and-patch" while actually bundling:

  • k8s.io/* 0.36.3 → 0.37.0
  • sigs.k8s.io/controller-runtime 0.24.1 → 0.25.0

Those are minor bumps of the operator's core Kubernetes dependencies. Taking them into main mid-RC — we are at v0.8.0-rc.1 with GA pending — is a wider blast radius than a security fix warrants.

This PR is the CVE fix alone. The full diff is grpc plus five small transitive bumps (cel.dev/expr, golang.org/x/{crypto,net,text,tools}), with no k8s or controller-runtime movement. #533 remains open and can land after GA.

Verification

Run with CGO_ENABLED=0 and -mod=readonly, so the committed go.mod/go.sum are exercised as-is:

  • go build ./... — clean
  • go vet ./... — clean
  • go test ./... — 19 packages pass

Four packages (cmd, internal/controller, internal/webhook/v1alpha1, test/e2e) fail in my environment for want of envtest binaries (bin/k8s, /usr/local/kubebuilder/bin/etcd) and a Kind cluster. I baselined them against unmodified main and they fail identically there, so the failures are pre-existing and environmental rather than caused by this bump. CI covers those suites.

🤖 Generated with Claude Code

Resolves all three open Dependabot alerts on main, which are all the same
package (google.golang.org/grpc, an indirect dependency reached via
github.com/spiffe/go-spiffe/v2/workloadapi):

  high    CVE-2026-84445  fixed in 1.82.2
  high    CVE-2026-84304  fixed in 1.83.1
  medium  CVE-2026-84303  fixed in 1.83.1

Bumping to 1.83.2 clears all three.

Dependabot #533 also fixes these, but it bundles k8s.io/* 0.36.3 -> 0.37.0
and sigs.k8s.io/controller-runtime 0.24.1 -> 0.25.0. Those are minor bumps
of the operator's core dependencies, and taking them into main mid-RC (we
are at v0.8.0-rc.1 with GA pending) is a wider blast radius than a security
fix warrants. This change is the CVE fix alone: grpc plus five small
transitive bumps, with no k8s or controller-runtime movement. #533 can land
after GA.

Verified with CGO_ENABLED=0 and -mod=readonly: build clean, vet clean, 19
test packages pass. Four packages (cmd, internal/controller,
internal/webhook/v1alpha1, test/e2e) fail locally for want of envtest
binaries and a Kind cluster; they fail identically on unmodified main, so
the failures are environmental and pre-existing rather than caused by this
bump. CI covers them.

Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Signed-off-by: Mariusz Sabath <mrsabath@gmail.com>

@davidhadas davidhadas left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fix: grpc 1.82.1 → 1.83.2, which is above the fix version for all three, plus five transitive bumps that go mod tidy carries along.

@davidhadas
davidhadas merged commit 723aa4f into main Sep 18, 2026
16 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants