Skip to content

fix(deps): Go 1.26.11 and golang.org/x/net v0.60.0 (govulncheck) - #80

Open
alghanim wants to merge 1 commit into
bodaay:masterfrom
alghanim:chore/go-1.26.11
Open

alghanim wants to merge 1 commit into
bodaay:masterfrom
alghanim:chore/go-1.26.11

Conversation

@alghanim

Copy link
Copy Markdown
Collaborator

The govulncheck job (security.yml) has failed on master since at least 2026-10-26, and on every PR since then (#75, #79). The code reaches vulnerabilities in the Go 1.26.8 standard library and in golang.org/x/net v0.58.0.

What

  • go.mod: go 1.26.11, the latest 1.26 patch (as docs/MAINTENANCE.md asks).
    • Standard-library fixes: crypto/x509 GO-2026-6809 (fixed in 1.26.10); crypto/tls GO-2026-6607, net/http GO-2026-6609…6617 and net/textproto GO-2026-6608 (fixed in 1.26.9).
    • golang:1.26-alpine already ships 1.26.11 (it sets GOTOOLCHAIN=local), so the Dockerfile needs no change.
  • golang.org/x/net v0.60.0 fixes GO-2026-6610, 6611, 6612 and 6617. Its own requirements are the x/crypto, x/sys and x/text versions already in go.mod, so no other module moves.

GO-2026-6809 matters most: it is in certificate verification, which the LDAP StartTLS fixes (#75, #79) rely on.

Verification

  • go run golang.org/x/vuln/cmd/govulncheck@v1.8.0 ./... (the CI pin) exits 0 for the server and for sdk/go.
  • go build ./..., go vet ./..., gofmt -l and go test ./... pass on Go 1.26.11.

Notes

🤖 Generated with Claude Code

https://claude.ai/code/session_014xHaYdBuvR8tJcURffAjtP

govulncheck (security.yml) fails on master: the code reaches
vulnerabilities in the Go 1.26.8 standard library and in x/net v0.58.0.
The standard-library ones are in crypto/x509 (GO-2026-6809, fixed in
1.26.10), crypto/tls, net/http and net/textproto (fixed in 1.26.9). The
x/net ones (GO-2026-6610/6611/6612/6617) are fixed in v0.60.0.

- go.mod: go 1.26.11, the latest 1.26 patch (docs/MAINTENANCE.md: always
  the latest patch). golang:1.26-alpine already ships 1.26.11.
- golang.org/x/net v0.60.0: its requirements match the current x/crypto,
  x/sys and x/text, so no other module moves.

govulncheck v1.8.0 (the CI pin) now exits 0 for the server and sdk/go.
go build, go vet, gofmt and go test ./... pass.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_014xHaYdBuvR8tJcURffAjtP
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.

1 participant