Skip to content

security(deps): bump golang.org/x/net to v0.60.0 - #811

Merged
lakhansamani merged 1 commit into
mainfrom
security/bump-x-net-0.60.0
Oct 14, 2026
Merged

lakhansamani merged 1 commit into
mainfrom
security/bump-x-net-0.60.0

Conversation

@lakhansamani

Copy link
Copy Markdown
Contributor

govulncheck has failed on main since the 2026-10-12 scheduled run, and on every push since (#808, #809). Five called vulnerabilities in golang.org/x/[email protected], all fixed in v0.60.0.

ID Summary
GO-2026-6617 HTTP/2 framing / header handling in x/net/http2
GO-2026-6612 HTTP/2 framing / header handling in x/net/http2
GO-2026-6611 HTTP/2 framing / header handling in x/net/http2
GO-2026-6610 HTTP/2 transport accepts malformed framing-related headers
GO-2026-6603 HTTP/2 server memory exhaustion via Trailer headers

Reachable, not merely present

govulncheck classes all five as called. The traces land on three distinct surfaces:

  • internal/grpcsrv/server.go:128 — grpcsrv.Run → grpc.Server.Serve, which reads and writes h2 frames directly (Framer.ReadFrame, WriteHeaders, WriteGoAway, SettingsFrame.ForeachSetting, …). This is the gRPC listener, exposed to anything that can open a connection to it, which makes GO-2026-6603 (server memory exhaustion) the one that matters most here.
  • internal/service/admin_webhooks.go:389 — service.TestEndpoint → http.Client.Do → http2.Transport.RoundTrip, the outbound client path for GO-2026-6610.
  • internal/service/webauthn.go:128 — WebauthnRegistrationVerify, via the h2 error types.

Scope

go mod tidy carried the rest of the golang.org/x/* set along, as it normally does:

crypto 0.55.0 -> 0.57.0      sys   0.47.0 -> 0.48.0
mod    0.38.0 -> 0.41.0      text  0.41.0 -> 0.42.0
net    0.58.0 -> 0.60.0      tools 0.48.0 -> 0.49.0
sync   0.22.0 -> 0.23.0

No source change. go.mod + go.sum only.

Verification

  • govulncheck ./... — zero golang.org/x/net findings after the bump (was 5).
  • go build ./..., go vet ./... clean.
  • make test — green, 0 failures.

Note on the local stdlib findings

Running govulncheck locally on Go 1.27.0 additionally reports 12 called vulnerabilities in the standard library (net/http/internal/http2, net/http, net/textproto, crypto/tls, html/template), fixed in go1.27.2. Those are a property of the local toolchain, not this repo: CI pins go-version-file: go.mod → 1.26.6, and the failing CI run reported "5 vulnerabilities from 1 module" with no standard-library section. No go directive change is needed here, but anyone scanning locally on 1.27.0 should update to 1.27.2 to avoid the noise.

Five called vulnerabilities in golang.org/x/[email protected], all fixed in
v0.60.0. govulncheck has failed on main since the 2026-10-12
scheduled run and on every push since.

- GO-2026-6617, GO-2026-6612, GO-2026-6611, GO-2026-6610: HTTP/2
  framing and header handling in x/net/http2
- GO-2026-6603: HTTP/2 server memory exhaustion via Trailer headers

All five are reachable, not merely present: the traces run through
grpcsrv.Run -> grpc.Server.Serve (the gRPC listener reads and writes
h2 frames directly), service.TestEndpoint -> http.Client.Do, and
service.WebauthnRegistrationVerify.

go mod tidy carried the rest of the x/ set along: crypto 0.55->0.57,
mod 0.38->0.41, sync 0.22->0.23, sys 0.47->0.48, text 0.41->0.42,
tools 0.48->0.49. No source change; go build, go vet and make test
all clean.
@lakhansamani
lakhansamani merged commit ed728cc into main Oct 14, 2026
4 checks passed
lakhansamani added a commit that referenced this pull request Oct 14, 2026
Sixteen PRs merged since the 2.4.1 tag; [Unreleased] documented three
of them and none of the five advisory fixes. A security release whose
notes omit its security fixes gives nobody a reason to upgrade, which
is the operator-facing half of the failure SECURITY.md triage exists
to prevent.

Renames [Unreleased] to 2.4.2 and documents all of it:

- Security: the six advisories closed (#814, #799, #798, #796 x2,
  #815) and the three reachable dependency advisories (#797, #807,
  #811), plus the Go 1.27 builder (#800).
- Fixed: the audit-filter parity bugs (#802) and the Cassandra index
  probe that never waited (#810).
- Changed: direct-gRPC x-authorizer-url now yields to --url (#814),
  and the dropped Cassandra audit_log(created_at) index (#812).
- Added: the audit plumbing (#806), stated as writing no new records
  and changing no behaviour, plus two deployment entries.
- Upgrade notes: eight items, including the three that were missing
  entirely — that ANY two audit filters now scan on Cassandra (not
  only the timestamp range, which the previous note implied), the
  longer first start on ScyllaDB now that probes genuinely block, and
  the manual DROP INDEX for the removed index.

Section order leads with Security, matching 2.4.1 — the file orders by
what matters for the release at hand rather than a fixed sequence.

Deliberately omitted: #791 (scorecard action bump) and #809 (the
previous changelog edit). Neither is user-facing; Keep a Changelog
asks for notable changes, not a commit log.

The ScyllaDB view-build note is scoped to ScyllaDB: global secondary
indexes are materialized views there, while Apache Cassandra builds
local 2i with no view-build step and no nodetool viewbuildstatus.
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