Skip to content

Raise Go toolchain floor to 1.25.9 and bump x/crypto#50

Merged
mjbraun merged 1 commit intomainfrom
go-toolchain-1.25
Apr 25, 2026
Merged

Raise Go toolchain floor to 1.25.9 and bump x/crypto#50
mjbraun merged 1 commit intomainfrom
go-toolchain-1.25

Conversation

@mjbraun
Copy link
Copy Markdown
Contributor

@mjbraun mjbraun commented Apr 24, 2026

Go 1.24 reached end-of-life when 1.26 shipped; the Go security team is no longer backporting stdlib fixes to that branch. govulncheck flagged four call-reachable stdlib vulnerabilities against golang:1.24-alpine (= go1.24.13) that have no 1.24 patch:

GO-2026-4870 crypto/tls TLS 1.3 KeyUpdate DoS (reachable from the
inbound proxy listener and the outbound
TLS dialer)
GO-2026-4947 crypto/x509 chain-building DoS
GO-2026-4946 crypto/x509 policy-validation DoS
GO-2026-4601 net/url IPv6 host literal misparse

Pin the Dockerfile to golang:1.25.9-alpine (which contains all four fixes) and raise the go.mod directive to 1.25.0. That in turn unblocks x/crypto v0.50.0 and the current x/exp snapshot, whose latest releases already require Go 1.25. govulncheck on the result reports clean.

go mod tidy also promoted golang-jwt/jwt/v5 and icholy/replace from indirect to direct to match how they're actually imported.

Go 1.24 reached end-of-life when 1.26 shipped; the Go security team is
no longer backporting stdlib fixes to that branch. govulncheck flagged
four call-reachable stdlib vulnerabilities against golang:1.24-alpine
(= go1.24.13) that have no 1.24 patch:

  GO-2026-4870  crypto/tls   TLS 1.3 KeyUpdate DoS (reachable from the
                             inbound proxy listener and the outbound
                             TLS dialer)
  GO-2026-4947  crypto/x509  chain-building DoS
  GO-2026-4946  crypto/x509  policy-validation DoS
  GO-2026-4601  net/url      IPv6 host literal misparse

Pin the Dockerfile to golang:1.25.9-alpine (which contains all four
fixes) and raise the go.mod directive to 1.25.0. That in turn unblocks
x/crypto v0.50.0 and the current x/exp snapshot, whose latest releases
already require Go 1.25. govulncheck on the result reports clean.

go mod tidy also promoted golang-jwt/jwt/v5 and icholy/replace from
indirect to direct to match how they're actually imported.
@mjbraun mjbraun requested a review from timflyio April 24, 2026 00:02
@mjbraun mjbraun merged commit 5068bc0 into main Apr 25, 2026
1 check passed
@mjbraun mjbraun deleted the go-toolchain-1.25 branch April 25, 2026 12:17
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