Skip to content

Bump golang.org/x/net to v0.62.0 to clear 15 govulncheck findings - #36

Merged
thrawn01 merged 1 commit into
mainfrom
cursor/bump-x-net-v0620-f607
Nov 2, 2026
Merged

thrawn01 merged 1 commit into
mainfrom
cursor/bump-x-net-v0620-f607

Conversation

@thrawn01

@thrawn01 thrawn01 commented Nov 1, 2026

Copy link
Copy Markdown
Contributor

Summary

Bumps golang.org/x/net from v0.47.0 to v0.62.0, the minimum release that clears all 15 module-level govulncheck findings in that module. v0.61.0 still reports GO-2026-6860 and GO-2026-6866 (fixed_version v0.62.0). The other 13 are fixed in earlier releases (v0.53.0 through v0.60.0).

go mod tidy was run. The go directive stays 1.26.10. golang.org/x/net v0.62.0 declares go 1.26.0, so no toolchain bump was required.

golang.org/x/net v0.62.0 requires golang.org/x/sys v0.49.0, so that indirect dependency moves from v0.41.0 (the version landed by #35) to v0.49.0. No other modules changed.

Findings fixed

ID golang.org/x/net fixed in
GO-2026-4918 v0.53.0
GO-2026-5025 v0.55.0
GO-2026-5026 v0.55.0
GO-2026-5027 v0.55.0
GO-2026-5028 v0.55.0
GO-2026-5029 v0.55.0
GO-2026-5030 v0.55.0
GO-2026-5942 v0.56.0
GO-2026-6603 v0.60.0
GO-2026-6610 v0.60.0
GO-2026-6611 v0.60.0
GO-2026-6612 v0.60.0
GO-2026-6617 v0.60.0
GO-2026-6860 v0.62.0
GO-2026-6866 v0.62.0

Versions

Module From To
golang.org/x/net v0.47.0 v0.62.0
golang.org/x/sys (indirect, required by x/net v0.62.0) v0.41.0 v0.49.0

Verification

Go toolchain used: go1.26.10. govulncheck v1.9.0, vuln DB last modified 2026-10-27.

  • go build ./... — passed
  • go test ./... — passed (groupcache-go/v3, cluster, contrib, internal/lru, internal/singleflight, transport, transport/peer)
  • govulncheck ./... — No vulnerabilities found
  • govulncheck -show verbose ./... — scanned golang.org/x/net@v0.62.0; No vulnerabilities found. None of the 15 IDs are reported.
  • govulncheck -scan module — No vulnerabilities found (these were module-level findings on v0.47.0). A module scan of v0.61.0 still reported only GO-2026-6860 and GO-2026-6866.

Relation to #35

This branch is cut from main after #35 merged (ee09fba). It does not replay or revert the OpenTelemetry bump. #35 left golang.org/x/net at v0.47.0.

Both PRs edit go.mod and go.sum. #35 is already on main, so this PR should apply cleanly. If the two diffs were replayed independently onto the pre-#35 tree, the conflict would be:

Resolution if that conflict shows up: keep the OpenTelemetry modules from #35, golang.org/x/net v0.62.0, and golang.org/x/sys v0.49.0.

Unresolved

Nothing left from the 15 golang.org/x/net findings.

govulncheck -test ./... (tests are not part of the requested scan) still reports two pre-existing OpenTelemetry SDK findings that #35 did not address: GO-2026-6505 (go.opentelemetry.io/otel/sdk, fixed in v1.45.0) and GO-2026-5426 (same module, fixed in v1.43.0). They are reachable only when test files are included. Left unchanged so this PR stays limited to golang.org/x/net.

Open in Web Open in Cursor 

v0.62.0 is the first release that fixes GO-2026-6860 and GO-2026-6866.
The other 13 findings in this set are fixed in v0.53.0 through v0.60.0.
x/net v0.62.0 requires golang.org/x/sys v0.49.0, so that indirect
dependency moves from v0.41.0. The go directive stays at 1.26.10.

Co-authored-by: Derrick J. Wippler <thrawn01@gmail.com>
@thrawn01
thrawn01 merged commit 38904fa into main Nov 2, 2026
1 check passed
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.

2 participants