Skip to content

fix: build the container image with Go 1.27.4 - #18

Merged
ashtonian merged 1 commit into
masterfrom
fix/go-1.27.4-image
Nov 22, 2026
Merged

ashtonian merged 1 commit into
masterfrom
fix/go-1.27.4-image

Conversation

@ashtonian

Copy link
Copy Markdown
Owner

GO-2026-6859 (net/http, fixed in Go 1.27.4) crashes an HTTP/1 server through a race between MaxBytesReader and its headers. The image's build stage used an older Go. The official golang images set GOTOOLCHAIN=local, so a go.mod toolchain line doesn't change the Go that builds the image. The build stage now starts from golang 1.27.4, pinned by digest.

GO-2026-6859, fixed in Go 1.27.4, lets a client crash an HTTP/1 server
through a race between MaxBytesReader and its headers in net/http. The
image built from an older Go: the official golang images set
GOTOOLCHAIN=local, so a newer toolchain line in go.mod does not change the
Go that builds it. The build stage now starts from golang 1.27.4, pinned
by digest.
@ashtonian
ashtonian merged commit d04b580 into master Nov 22, 2026
5 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