STAC-25444: bump dependencies to eliminate CVEs - #157
Merged
Conversation
Bump x/net v0.56.0, moby/spdystream v0.5.1, x/sys v0.46.0, x/text v0.39.0 (requires go 1.25). Also bump golangci-lint v2.3.1 => v2.9.0 so the linter can load config targeting go 1.25.
LouisLotter
approved these changes
Jul 28, 2026
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.
What
Bump vulnerable transitive dependencies to their fixed versions to eliminate all reported CVEs, and fix the CI linter failure so the change can actually merge.
Why a new PR
This supersedes #156 (external contribution by @thbertoldi), which had the right dependency bumps but:
x/net v0.56.0requires Go 1.25, sogo.modtargetsgo 1.25.0. But the CI linter still rangolangci-lint v2.3.1, which is built with Go 1.24, producing:can't load config: the Go language version (go1.24) used to build golangci-lint is lower than the targeted Go version (1.25.0).Fixed here by bumping
golangci-lintv2.3.1->v2.9.0(first release built with Go 1.25).Changes
go.mod/go.sum: dependency bumps above;godirective1.24.0->1.25.0(drops the pinnedtoolchainline).x/netalso pullsx/sync,x/term,x/toolsto compatible versions. Regenerated withgo mod tidy..github/workflows/ci.yml:go-version1.24.x->1.25.xacross all jobs;golangci-lintv2.3.1->v2.9.0.Verification (local)
go build ./...— cleango test ./...— all passgolangci-lint v2.9.0 run— 0 issuesgovulncheck ./...— all four targeted dependency CVEs resolved (remaining findings are Go standard-library advisories tied to the local toolchain patch version, not these dependencies, and CI does not run govulncheck)Credit to @thbertoldi for the original dependency bumps in #156.
Tracked in STAC-25444.