chore(deps): bump go directive to 1.26.4 (clears 2 reachable stdlib vulns)#70
Merged
Conversation
CI builds via `go-version-file: go.mod`, so the toolchain version is the `go` directive. govulncheck flagged two reachable Go stdlib vulnerabilities fixed in go1.26.4: - GO-2026-5039 net/textproto (unescaped inputs in errors) — reached via utils.DoAPI → textproto.ReadMIMEHeader on the local hypervisor API socket. - GO-2026-5037 crypto/x509 (inefficient hostname parsing) — reached via snapshot Export → x509 Verify/VerifyHostname. Both low severity (trusted local peer / registry TLS), but bumping the build toolchain clears them. After: govulncheck reports 0 vulnerabilities. build/vet/lint (darwin+linux) + race tests green on go1.26.4.
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.
Follow-up to the grpc bump (#69).
govulncheckflagged two reachable Go standard-library vulnerabilities, both fixed in go1.26.4:net/textproto(unescaped inputs in errors)utils.DoAPI → io.ReadAll → textproto.ReadMIMEHeader(local CH/FC API socket)crypto/x509(inefficient hostname parsing)snapshot.Handler.Export → io.Copy → x509.Verify/VerifyHostname(registry TLS)Both are low practical risk (trusted local hypervisor API peer / registry TLS during export), but the fix is free.
Change
CI builds via
go-version-file: go.mod, so the toolchain is pinned by thegodirective. Bumpgo 1.25.6→go 1.26.4. One line;go mod tidyleft go.sum unchanged.Verification (on go1.26.4)
go build ./...+GOOS=linux go build ./...go vet(both platforms)make lint(darwin + linux, 0 issues)go test -race -count=1 ./...— 24/24govulncheck ./...— 0 vulnerabilities (was 2)