Skip to content

chore(deps): update golang.org/x modules carrying advisories - #570

Open
0xrlawrence wants to merge 1 commit into
canopy-network:mainfrom
0xrlawrence:chore/bump-vulnerable-x-deps
Open

chore(deps): update golang.org/x modules carrying advisories#570
0xrlawrence wants to merge 1 commit into
canopy-network:mainfrom
0xrlawrence:chore/bump-vulnerable-x-deps

Conversation

@0xrlawrence

Copy link
Copy Markdown

Description

govulncheck reports four advisories in the dependency graph. None are reachable from Canopy's own call paths, but three have fixes available:

Advisory Module Fixed in
GO-2026-5970 golang.org/x/text v0.38.0 v0.39.0
GO-2026-6179 golang.org/x/mod v0.37.0 v0.40.0
GO-2026-6180 golang.org/x/mod v0.37.0 v0.40.0

Changes Made

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

go mod tidy also moved github.com/spf13/pflag from the indirect to the direct require block. That is a correct reclassification — cmd/cli/cli.go imports it directly.

Result

After the update, govulncheck reports 0 advisories in imported packages (down from 1) and 1 remaining in required modules (down from 3). The remainder is GO-2026-5932 in x/crypto, which has no published fix and is not reachable from this codebase.

Testing

  • go build ./...
  • Full suite passes: go test ./... -p=1

🤖 Generated with Claude Code

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.
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