Skip to content

fix: upgrade Go to 1.25.11 and x/net to resolve stdlib vulnerabilities#31

Merged
martineckardt merged 1 commit into
mainfrom
fix/stdlib-vulns-go-1.25.11
Jun 10, 2026
Merged

fix: upgrade Go to 1.25.11 and x/net to resolve stdlib vulnerabilities#31
martineckardt merged 1 commit into
mainfrom
fix/stdlib-vulns-go-1.25.11

Conversation

@owenwahlgren

Copy link
Copy Markdown
Collaborator

Summary

CI's govulncheck step currently fails on main itself (surfaced on #29/#30): four reachable stdlib vulnerabilities in Go 1.25.9 plus golang.org/x/net v0.47.0:

  • GO-2026-5037 (crypto/x509) — reachable via keystore.GenerateKey
  • GO-2026-4971 (net) — reachable via wallet.NewFullWalletFromKeychain
  • GO-2026-4918 (net/http + x/net HTTP/2) — reachable via network.GetNetworkID

This also covers the open Dependabot alerts on the default branch.

Changes

  • go.mod: go 1.25.91.25.11; golang.org/x/net v0.47.0v0.53.0 (pulls x/crypto, x/sys, x/term, x/text, x/tools forward)
  • .github/workflows/ci.yml: setup-go and all GOTOOLCHAIN pins → 1.25.11

Validation

  • govulncheck ./...0 reachable vulnerabilities
  • go build, go vet, staticcheck v0.6.1, go test -race ./pkg/... ./cmd/... all pass on go1.25.11

Note: this commit is cherry-picked onto #29 and #30 so their CI goes green without waiting; the identical patches dedupe at merge time. Merge this one first if convenient.

…lnerabilities

govulncheck fails CI on main: GO-2026-5037 (crypto/x509), GO-2026-4971
(net), GO-2026-4918 (net/http + golang.org/x/net) are reachable from
keystore key generation, wallet dialing, and network ID lookup. All are
fixed in go1.25.10/1.25.11 and x/net v0.53.0.

- go.mod: go 1.25.9 -> 1.25.11; x/net v0.47.0 -> v0.53.0 (pulls
  x/crypto, x/sys, x/term, x/text et al. forward)
- ci.yml: bump setup-go and GOTOOLCHAIN pins to 1.25.11

govulncheck now reports 0 reachable vulnerabilities.
@martineckardt martineckardt merged commit 2177ea2 into main Jun 10, 2026
6 checks passed
@martineckardt martineckardt deleted the fix/stdlib-vulns-go-1.25.11 branch June 10, 2026 19:06
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