chore(deps): update golang.org/x modules carrying advisories - #570
Open
0xrlawrence wants to merge 1 commit into
Open
chore(deps): update golang.org/x modules carrying advisories#5700xrlawrence wants to merge 1 commit into
0xrlawrence wants to merge 1 commit into
Conversation
govulncheck reports four advisories in the dependency graph. None are reachable from Canopy's own call paths, but three have fixes available: GO-2026-5970 golang.org/x/text v0.38.0 -> fixed in v0.39.0 GO-2026-6179 golang.org/x/mod v0.37.0 -> fixed in v0.40.0 GO-2026-6180 golang.org/x/mod v0.37.0 -> fixed in v0.40.0 Updated to current releases: golang.org/x/crypto v0.53.0 -> v0.55.0 golang.org/x/mod v0.37.0 -> v0.40.0 golang.org/x/net v0.56.0 -> v0.57.0 golang.org/x/sync v0.21.0 -> v0.22.0 golang.org/x/sys v0.46.0 -> v0.47.0 golang.org/x/term v0.44.0 -> v0.45.0 golang.org/x/text v0.38.0 -> v0.41.0 After the update govulncheck reports 0 advisories in imported packages, down from 1, and 1 remaining in required modules, down from 3. The remaining one is GO-2026-5932 in x/crypto, which has no published fix and is not reachable from this codebase. 'go mod tidy' also moved github.com/spf13/pflag from the indirect to the direct require block; that is a correct reclassification, since cmd/cli/cli.go imports it directly. Full test suite passes.
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.
Description
govulncheckreports four advisories in the dependency graph. None are reachable from Canopy's own call paths, but three have fixes available:golang.org/x/textv0.38.0golang.org/x/modv0.37.0golang.org/x/modv0.37.0Changes Made
Updated to current releases:
go mod tidyalso movedgithub.com/spf13/pflagfrom the indirect to the direct require block. That is a correct reclassification —cmd/cli/cli.goimports it directly.Result
After the update,
govulncheckreports 0 advisories in imported packages (down from 1) and 1 remaining in required modules (down from 3). The remainder is GO-2026-5932 inx/crypto, which has no published fix and is not reachable from this codebase.Testing
go build ./...go test ./... -p=1🤖 Generated with Claude Code