security: upgrade golang to 1.25.6 to fix CVE-2025-61729#4358
Conversation
✅ Deploy Preview for kptdocs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Signed-off-by: Minna Howell <minnah@google.com>
516bea2 to
75db948
Compare
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
Updated the workflows. Since I bumped the go.mod to 1.25.6, the default GitHub runners (which often lag by a patch version or two, currently at 1.25.5) were failing because they couldn't satisfy the strict version check under GOTOOLCHAIN=local. So I updated to 1.25.6 specifically in a few places. |
efiacor
left a comment
There was a problem hiding this comment.
Can we go with the following for all workflows?
name: Set up Go
uses: actions/setup-go@v6
with:
go-version-file: go/src/github.com/kptdev/kpt/go.mod
cache: true
the check-latest is redundant if cache=true
Signed-off-by: Minna Howell <minnah@google.com>
Signed-off-by: Minna Howell <minnah@google.com>
yep done thanks for the feedback |
Description
This PR upgrades the Go toolchain and base images to version 1.25.6.
Why is this needed?
This update addresses CVE-2025-61729, a high-severity vulnerability in
crypto/x509that allows for potential Denial of Service (DoS) via resource exhaustion when processing malicious certificates.Changes
go.modtogo 1.25go mod tidyto refresh dependencies