Repository navigation
build: align go.mod's own Go version with CI's pin; bump golang.org/x/net - #271
Merged
Merged
Conversation
…/net A concurrent PR moved CI to Go 1.27.2 (a security release) but left go.mod's own "go 1.27.1" directive untouched -- correct for actually building (a directive is a floor, Go's toolchain management already picks whatever satisfies it), but it made govulncheck analyze against the stale 1.27.1 stdlib baseline and report 8 already-patched vulnerabilities as still live. Bumping the directive to match fixes govulncheck's own picture without changing what gets built. Also bumped golang.org/x/net v0.59.0 -> v0.61.0 (closes 5 more advisories, all HTTP/2 server-side and already confirmed unreachable by this client-only engine -- bumped anyway as cheap defense in depth) and its transitive x/crypto, x/sys, x/text updates via go mod tidy. golang.org/x/crypto's openpgp advisory (GO-2026-5932, round 162) remains: unmaintained by design, no fix version, still unreachable. Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.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
go.mod's owngo 1.27.1directive untouched — correct for actually building (a directive is a floor, Go's toolchain management already picks whatever satisfies it), but it madegovulncheckanalyze against the stale 1.27.1 stdlib baseline and report 8 already-patched vulnerabilities as still live.go 1.27.2to match fixesgovulncheck's own picture (8 reachable vulnerabilities → 0) without changing what actually gets built.golang.org/x/netv0.59.0 → v0.61.0 (closes 5 more advisories, all HTTP/2 server-side and already confirmed unreachable by this client-only engine — bumped anyway as cheap defense in depth) plus its transitivex/crypto/x/sys/x/textupdates viago mod tidy.golang.org/x/crypto'sopenpgpadvisory (GO-2026-5932, round 162) remains: unmaintained by design, no fix version, still unreachable — unchanged, not newly introduced.Test plan
go build ./...go test ./...(all packages pass)govulncheck ./...: 0 reachable vulnerabilities (down from 8), 1 known-unreachable advisory unchanged🤖 Generated with Claude Code