Repository navigation
Bump golang.org/x/net to v0.62.0 to clear 15 govulncheck findings - #36
Merged
Merged
Conversation
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>
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.
Summary
Bumps
golang.org/x/netfrom v0.47.0 to v0.62.0, the minimum release that clears all 15 module-levelgovulncheckfindings in that module. v0.61.0 still reports GO-2026-6860 and GO-2026-6866 (fixed_versionv0.62.0). The other 13 are fixed in earlier releases (v0.53.0 through v0.60.0).go mod tidywas run. Thegodirective stays 1.26.10.golang.org/x/netv0.62.0 declaresgo 1.26.0, so no toolchain bump was required.golang.org/x/netv0.62.0 requiresgolang.org/x/sysv0.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
golang.org/x/netfixed inVersions
golang.org/x/netgolang.org/x/sys(indirect, required by x/net v0.62.0)Verification
Go toolchain used: go1.26.10. govulncheck v1.9.0, vuln DB last modified 2026-10-27.
go build ./...— passedgo test ./...— passed (groupcache-go/v3,cluster,contrib,internal/lru,internal/singleflight,transport,transport/peer)govulncheck ./...— No vulnerabilities foundgovulncheck -show verbose ./...— scannedgolang.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
mainafter #35 merged (ee09fba). It does not replay or revert the OpenTelemetry bump. #35 leftgolang.org/x/netat v0.47.0.Both PRs edit
go.modandgo.sum. #35 is already onmain, so this PR should apply cleanly. If the two diffs were replayed independently onto the pre-#35 tree, the conflict would be:go.mod: thegolang.org/x/sysline. Fix GO-2026-5506 by bumping OpenTelemetry to v1.42.0 #35 sets v0.41.0; this change needs v0.49.0. Thegolang.org/x/netline was not modified by Fix GO-2026-5506 by bumping OpenTelemetry to v1.42.0 #35.go.sum: thegolang.org/x/syschecksums. Fix GO-2026-5506 by bumping OpenTelemetry to v1.42.0 #35 replaces v0.38.0; this change replaces v0.41.0 with v0.49.0. Thegolang.org/x/netchecksums were not touched by Fix GO-2026-5506 by bumping OpenTelemetry to v1.42.0 #35.Resolution if that conflict shows up: keep the OpenTelemetry modules from #35,
golang.org/x/netv0.62.0, andgolang.org/x/sysv0.49.0.Unresolved
Nothing left from the 15
golang.org/x/netfindings.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 togolang.org/x/net.