Skip to content

Bump golang.org/x/net to v0.60.0 for GO-2026-6617 - #880

Merged
robzolkos merged 2 commits into
mainfrom
deps/x-net-v0.60.0
Oct 12, 2026
Merged

robzolkos merged 2 commits into
mainfrom
deps/x-net-v0.60.0

Conversation

@robzolkos

@robzolkos robzolkos commented Oct 12, 2026 •

Copy link
Copy Markdown
Collaborator

Finding

golang.org/x/net v0.59.0 carries five advisories, all fixed in v0.60.0:

ID Summary
GO-2026-6617 / CVE-2026-78669 (HIGH) A peer opens many HTTP/2 streams, then sends many small SETTINGS frames, and burns the CPU
GO-2026-6612 Double flow-control refund on HTTP/2 server streams
GO-2026-6611 Excessive CPU from repeated initial window changes
GO-2026-6610 HTTP/2 transport accepts malformed framing headers
GO-2026-6603 HTTP/2 server memory exhaustion via Trailer headers

govulncheck finds the CLI calling the affected code (for example through internal/connector/driver/worker.go:339 and internal/connector/setup/checks.go:456). Trivy fails Trivy Security Scan on the HIGH one. Both checks went red on main without a code change, when the advisory database picked these up.

Fix

  • golang.org/x/net v0.59.0 → v0.60.0. go mod tidy moved nothing else.
  • nix/package.nix: a new vendorHash for the new go.sum. make update-nix-hash recomputed it and verified the flake builds in Docker.

Proof

  • Trivy 0.70.0 (the version trivy-action v0.36.0 runs), fs --severity HIGH,CRITICAL --ignore-unfixed: main has 1 HIGH finding (golang.org/x/net CVE-2026-78669). This branch has 0.
  • govulncheck -tags dev ./... under Go 1.26.7: on main, GO-2026-6617, 6612, 6611, 6610 and 6603 are found in golang.org/x/net@v0.59.0. On this branch, x/net is no longer listed.
  • bin/ci passes locally.

Not fixed here: the required Security check stays red

The same govulncheck run also reports 11 Go standard library advisories in Go 1.26.7, fixed in Go 1.26.9. So Security stays red on this PR until the Go toolchain moves. That fix is #881 ("Build with Go 1.26.9 for eleven standard-library advisories"), stacked on this one. The two have to reach main together.

Merge order: merge #881 into this branch first. This PR then holds both commits and goes green. Then rebase-merge this PR into main.

x/net v0.59.0 carries five advisories fixed in v0.60.0, all in its http2
package: GO-2026-6617 (CVE-2026-78669, HIGH: a peer that opens many
streams and then sends many small SETTINGS frames burns the CPU),
GO-2026-6612, GO-2026-6611, GO-2026-6610 and GO-2026-6603. govulncheck
finds the CLI calling the affected code, and Trivy fails the security
scan on the HIGH one.

nix/package.nix gets the vendorHash the new go.sum needs, recomputed and
verified with make update-nix-hash.
Copilot AI balanced review requested due to automatic review settings October 12, 2026 17:48
@robzolkos
robzolkos requested a review from a team as a code owner October 12, 2026 17:48
@github-actions github-actions Bot added the deps label Oct 12, 2026

@cubic-dev-ai cubic-dev-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No issues found across 3 files

You’re at about 92% of the monthly reviewed-line limit. You may want to disable incremental reviews to conserve quota. Reviews will continue until that limit is exceeded. If you need help avoiding interruptions, please contact contact@cubic.dev.

View guided diff | Turn on auto-fix | Re-trigger cubic

Copilot AI previously approved these changes Oct 12, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

The dependency version, checksums, and required Nix vendor hash are updated consistently.

0 open findings

What changed in this PR

Updates golang.org/x/net to v0.60.0, resolving five HTTP/2 security advisories.

Changes:

  • Bumps x/net from v0.59.0 to v0.60.0.
  • Updates module checksums and the Nix vendor hash.

[!TIP]
If you aren't ready for review, convert to a draft PR.
Click "Convert to draft" or run gh pr ready --undo.
Click "Ready for review" or run gh pr ready to reengage.

File Description
go.mod Updates the direct dependency version.
go.sum Records the corresponding module checksums.
nix/​package.nix Updates the Nix vendor hash.

🧠 Review effort: Balanced


💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

govulncheck reports eleven advisories that the CLI reaches in the Go
1.26.7 standard library (net/http, net/textproto, crypto/tls and
html/template), all fixed in Go 1.26.9: GO-2026-6617, 6613, 6612, 6611,
6610, 6608, 6607, 6605, 6603, 6600 and 6599.

This is a toolchain line, not a higher go line. setup-go reads the
toolchain directive, so every CI and release job builds and scans with
1.26.9, and a local go older than that switches to it. The go line
stays the minimum that builds the module: nixpkgs-unstable has only Go
1.26.8, and the flake builds with GOTOOLCHAIN=local, so go 1.26.9 there
would fail the required Nix flake build until nixpkgs catches up.
Copilot AI balanced review requested due to automatic review settings October 12, 2026 18:54
Copilot AI dismissed their stale review, a newer Copilot review was requested October 12, 2026 18:54

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🟢 Approved

The security updates are consistent, valid, and verified by the Security, Trivy, and Nix checks.

0 open findings

🧠 Review effort: Balanced

@robzolkos
robzolkos merged commit 0466850 into main Oct 12, 2026
41 checks passed
@robzolkos
robzolkos deleted the deps/x-net-v0.60.0 branch October 12, 2026 19:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants