Skip to content

fix(deps): update Go, x/net, and grpc for security fixes - #4

Merged
arcaputo3 merged 4 commits into
mainfrom
tjc-3472-vuln-bump
Oct 14, 2026
Merged

arcaputo3 merged 4 commits into
mainfrom
tjc-3472-vuln-bump

Conversation

@arcaputo3

Copy link
Copy Markdown

make vulncheck fails on main with two reachable vulnerabilities. This PR clears both and keeps the lint lane working on the new toolchain.

Advisories

Advisory Affected Fixed in
GO-2026-6617 golang.org/x/net v0.59.0 v0.60.0
GO-2026-6613 Go 1.27.1 standard library (net/http) Go 1.27.2
GO-2026-6443 google.golang.org/grpc v1.83.1 (imported, not called) v1.83.2

What changes

  • Go toolchain: go.mod moves to go 1.27.2. CI reads the version from go.mod, and both Dockerfiles move to golang:1.27.2-bookworm (the release image keeps a digest pin).
  • x/net: v0.59.0 → v0.60.0.
  • grpc-go (indirect): v1.83.1 → v1.83.2, a preventive update.
  • Linter: golangci-lint v2.13.1 → v2.14.0 (Makefile, .custom-gcl.yml) so it can read Go 1.27.2 package data. The small strings.CutLast rewrites address the new linter's modernize findings and do not change behavior.
  • x/tools: v0.49.0 → v0.50.0. Go 1.27.2 writes export data version 5, which the v0.49.0 importer used by testify-helper-check cannot read.

The Go, x/net, and linter changes are a backport of upstream kenn-io#1185; the grpc bump matches kenn-io#1220.

govulncheck still lists GO-2026-5932 (golang.org/x/crypto/openpgp is unmaintained) at module level only. msgvault does not import that package, and no fixed version exists.

🤖 Generated with Claude Code

https://claude.ai/code/session_01793XPgu1pMcfXjFd423RNP

arcaputo3 and others added 4 commits October 14, 2026 07:09
govulncheck fails on main with two reachable vulnerabilities:

- GO-2026-6617 in golang.org/x/net v0.59.0, fixed in v0.60.0.
- GO-2026-6613 in the Go 1.27.1 standard library (net/http), fixed in
  Go 1.27.2.

Source and container builds now use Go 1.27.2, and x/net advances to
v0.60.0. The linter advances to v2.14.0 so it can read Go 1.27.2's
compiled package data; the remaining Go changes address the findings
the newer linter reports.

Backport of upstream kenn-io#1185.
(cherry picked from commit 7ca2f51)

Co-authored-by: Rod Boev <rodboev@users.noreply.github.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01793XPgu1pMcfXjFd423RNP
Updates the indirect google.golang.org/grpc dependency from v1.83.1 to
v1.83.2, which fixes a server panic on HTTP/2 requests that carry
neither :authority nor Host (GO-2026-6443). govulncheck reports the
package as imported but not called; this is a preventive update.

Only go.mod and go.sum change. Matches upstream kenn-io#1220.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01793XPgu1pMcfXjFd423RNP
Go 1.27.2 writes export data version 5, which the x/tools v0.49.0
importer cannot read, so `make testify-helper-check` (and therefore
`make lint-ci`) fails on every package. x/tools v0.50.0 reads the new
format; x/telemetry follows as its indirect requirement. This matches the
x/tools version upstream already uses.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01793XPgu1pMcfXjFd423RNP
golangci-lint v2.14.0's modernize check reports the LastIndex slicing in
the Circleback and Granola importers' emailDomain helpers. CutLast
returns the same suffix, and an empty string when the address has no
"@", so behavior is unchanged.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01793XPgu1pMcfXjFd423RNP
@arcaputo3
arcaputo3 merged commit 2406eff into main Oct 14, 2026
25 of 29 checks 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.

1 participant