Repository navigation
fix: bump go to 1.26.10 and runtime base to distroless static-debian13 for CVE-2026-111943 - #114
Merged
phisco merged 2 commits intoNov 9, 2026
Conversation
…to distroless static-debian13 Signed-off-by: Jakub Ramut <jakub@upbound.io>
…expr Signed-off-by: Jakub Ramut <jakub@upbound.io>
phisco
approved these changes
Nov 9, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description of your changes
Bumps Go to
1.26.10onmainto pick up thecrypto/x509fix for CVE-2026-111943 (GO-2026-6809) and moves the runtime basegcr.io/distroless/static-debian12:nonroot->static-debian13:nonroot, since distroless no longer updates-debian12tags. This is themaincounterpart of #113 and mirrorscrossplane-contrib/function-patch-and-transform#379. CI currently builds
/functionwithgo1.25.4, and govulncheck reportsgo1.26.10as the first fixed version, with no1.25.xpatch.GOLANGCI_VERSIONmovesv2.6.2→v2.11.4as in #113, becausev2.6.2refuses the module:can't load config: the Go language version (go1.25) used to build golangci-lint is lower than the targeted Go version (1.26.10).main's.golangci.ymlusesdefault: all, somodernize, which is not enabled onrelease-0.3, then reports 8newexprfindings in
fn_test.go. Thoseptr.To("...")calls become Go 1.26new("..."). The change is test-only.go.modmovesgo 1.25.0→go 1.26.10as in #113 and #379, so every build of the module needs a1.26.10+ toolchain. That flips four defaultGODEBUGsettings from their 1.25 values:cryptocustomrand,httpservecontentmaxranges,tlssecpmlkem,urlstrictcolons.Tests
Local, Go
1.26.10:go mod tidy: no diffgolangci-lintv2.11.4config verifyandrun: 0 issuesgo test -v -cover ./...: 21--- PASS, 0--- FAILgovulncheck ./...: 25 reachable findings onmainwithgo1.25.4→ 6. GO-2026-6809 no longer appears. The remaining 6 are not addressed here: 4 ingolang.org/x/net(fixed inv0.60.0) and 2 ingoogle.golang.org/grpc(fixed inv1.82.1andv1.83.1).docker build --platform linux/amd64 --build-arg GO_VERSION=1.26.10 --target image: the image's/functionis built withgo1.26.10on Debian 13, runs asnonroot:nonroot, and--helpexits 0I have:
Added or updated unit tests for my change.