Skip to content

Update golang.org/x modules: fixes five HTTP/2 vulnerabilities in x/net - #13

Merged
pierreneter merged 1 commit into
p10node:mainfrom
junior:deps-golang-x
Oct 30, 2026
Merged

pierreneter merged 1 commit into
p10node:mainfrom
junior:deps-golang-x

Conversation

@junior

@junior junior commented Oct 25, 2026

Copy link
Copy Markdown
Collaborator

govulncheck v1.9.0 on main (d088431) reports five vulnerabilities in golang.org/x/net v0.56.0 whose code k10s reaches through client-go's HTTP/2 transport (the traces go through port-forward and log streaming), all fixed in v0.60.0:

  • GO-2026-6617: HTTP/2 server crash due to HPACK encoder race
  • GO-2026-6612: double flow control refund on HTTP/2 server streams
  • GO-2026-6611: excessive CPU consumption from repeated initial window changes
  • GO-2026-6610: HTTP/2 transport accepts malformed framing-related headers
  • GO-2026-6603: HTTP/2 server memory exhaustion due to Trailer headers

It also lists GO-2026-6629 in golang.org/x/text v0.39.0 (fixed in v0.41.0), which k10s requires but does not call.

This updates golang.org/x/net to v0.61.0 and the other golang.org/x modules in go.mod to their latest releases (go get of each, then go mod tidy). Nothing else moves.

After it, govulncheck reports no vulnerabilities, and trivy finds nothing in a linux/amd64 build made with -trimpath -ldflags="-s -w" (on main it finds these six). gofmt, go vet ./..., go test ./... and a build for each release platform pass on Go 1.26.10 and 1.27.3.

The standard library is already clean once a release builds with Go 1.26.10, which release.yml picks up by itself.

govulncheck reports five vulnerabilities in golang.org/x/net v0.56.0
whose code k10s reaches through client-go's HTTP/2 transport, all
fixed in v0.60.0 (GO-2026-6617, GO-2026-6612, GO-2026-6611,
GO-2026-6610, GO-2026-6603), and GO-2026-6629 in golang.org/x/text
v0.39.0, required but not called, fixed in v0.41.0.

Update golang.org/x/net to v0.61.0 and the other golang.org/x
modules to their latest releases. govulncheck now reports none.

Signed-off-by: Adao Oliveira Jr <[email protected]>
@pierreneter
pierreneter merged commit da2d737 into p10node:main Oct 30, 2026
1 check passed
junior added a commit to junior/k10s that referenced this pull request Oct 30, 2026
The required checks need this branch to be up to date with main, and
govulncheck here passes once p10node#13's x/net fixes are in.

Signed-off-by: Adao Oliveira Jr <[email protected]>
@junior
junior deleted the deps-golang-x branch November 6, 2026 20:30
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.

2 participants