Skip to content

fix(deps): upgrade Go dependencies flagged by the release security gate - #313

Merged
timmy21 merged 1 commit into
0.9.xfrom
fix/go-deps-cve
Oct 12, 2026
Merged

timmy21 merged 1 commit into
0.9.xfrom
fix/go-deps-cve

Conversation

@timmy21

@timmy21 timmy21 commented Oct 12, 2026

Copy link
Copy Markdown
Contributor

Summary

The release security gate (trivy 0.58.0) marked CLOUD-PROBE-BUILD #171 UNSTABLE on fixable HIGH CVEs in Go dependencies of cpdaemon and cripid. This raises each one to the fixed version.

Module Dependency Before After CVEs
cpdaemon golang.org/x/crypto v0.45.0 v0.55.0 CVE-2026-39828/39829/39830/39831/39832/39835, 42508, 46595, 46597, 56854
cpdaemon golang.org/x/text (indirect) v0.31.0 v0.41.0 CVE-2026-56852
cripid google.golang.org/grpc v1.81.1 v1.83.2 CVE-2026-84304, CVE-2026-84445, GHSA-hrxh-6v49-42gf
cripid golang.org/x/net (indirect) v0.51.0 v0.60.0 CVE-2026-25681, 27136, 33814, 39821, 46600, 78669
cripid golang.org/x/text (indirect) v0.34.0 v0.42.0 CVE-2026-56852

x/sys, x/sync and genproto move up as required by the new versions. The go directives are unchanged.

Not covered here: the stdlib CVEs need the builder's Go toolchain at ≥ 1.26.9, and the perl-base / libpcre2 CVEs need a rebuilt cpbase image. Both live outside this repository.

Test plan

  • cpdaemon: go vet ./... and go test ./...
  • cripid: go test ./... on Linux
  • mage cpdaemon:linux and mage criPid:linux build

CLOUD-PROBE-BUILD #171 failed the trivy gate (UNSTABLE) on HIGH CVEs in
cpdaemon and cripid dependencies. Raise each to the fixed version:

- cpdaemon: golang.org/x/crypto v0.45.0 -> v0.55.0, x/text v0.31.0 -> v0.41.0
- cripid: google.golang.org/grpc v1.81.1 -> v1.83.2, x/net v0.51.0 -> v0.60.0,
  x/text v0.34.0 -> v0.42.0
@timmy21
timmy21 merged commit 0ae054b into 0.9.x Oct 12, 2026
1 check passed
@timmy21
timmy21 deleted the fix/go-deps-cve branch October 12, 2026 03:08
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.

1 participant