fix: update all dependencies and base images (Alpine 3.24.2, distroless); require Go 1.26 - #2681
Merged
Merged
Conversation
kgala2
marked this pull request as ready for review
September 24, 2026 21:45
Contributor
Author
|
/gcbrun |
panavenue
previously approved these changes
Sep 25, 2026
- alpine:3 -> 294b683 (Alpine 3.24.2, OpenSSL 3.5.8-r0), multi-arch index digest - gcr.io/distroless/static:nonroot -> e2e927e, multi-arch index digest - go get -u -t ./... (genproto monolith held; grpc held at v1.83.2 to avoid GO-2026-6443 in v1.84.0) - x/crypto v0.57.0 fixes GO-2026-6354, GO-2026-6355 - go directive 1.26.0 (required by updated deps); CI go-version 1.26
kgala2
force-pushed
the
deps/alpine-3.24.2
branch
from
September 25, 2026 18:44
1217015 to
47380c5
Compare
- tests.yaml: replace 'permissions: read-all' with 'contents: read' - govulncheck.yaml: correct the version comment on the pinned govulncheck-action SHA (v1.0.4)
kgala2
force-pushed
the
deps/alpine-3.24.2
branch
from
September 25, 2026 18:50
47380c5 to
0ff040f
Compare
hessjcg
approved these changes
Sep 25, 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.
Important
This PR raises the
godirective ingo.modfrom 1.25.8 to 1.26.0. The updatedgolang.org/x/crypto(v0.57.0, which fixes GO-2026-6354 and GO-2026-6355),golang.org/x/net,cloud.google.com/go/*andgax-goall require Go 1.26.golang:1/golang:1-alpineimages, which are already Go 1.27.go install github.com/GoogleCloudPlatform/cloud-sql-proxy/v2@latest) now requires Go 1.26 or later.go-version: "1.25"to"1.26".v1-periodic.yamlis left at 1.25 because it builds thev1branch.Update all dependencies and container base images so that published proxy images have no fixable vulnerabilities.
Container base images
Dockerfile.alpinealpine:379ff19e9…(Alpine 3.24.1, linux/amd64-only manifest)294b683c…(Alpine 3.24.2, multi-arch index)Dockerfilegcr.io/distroless/static:nonroot23795be0…(linux/amd64-only manifest)e2e927ec…(multi-arch index)Both old pins were single-platform (amd64) manifest digests, which is what
./build.sh depswrites. This PR switches both to the multi-arch image index digest, the same form Renovate uses (e.g. #2585). Renovate has not proposed these bumps itself because the "container images" group is rate-limited on the Dependency Dashboard (#437):prConcurrentLimit: 3is used up by the stale PRs #2412, #2545 and #2679.The Alpine bump fixes the following OpenSSL CVEs (
libssl3/libcrypto33.5.7-r0 → 3.5.8-r0, per the Alpine secdb):The proxy binary is static (
CGO_ENABLED=0) and does not use OpenSSL, so it cannot reach these CVEs. Customer image scanners (e.g. JFrog Xray) still flag them as critical/high.The Alpine bump also updates
apk-tools/libapk3.0.8,ca-certificates20260909 andfuse-common3.18.3.Go modules
Updated with
go get -u -t ./...followed bygo mod tidy. Two modules are held back:google.golang.org/genproto(monolith) stays at its current version. Upgrading it removesgoogleapis/devtools/cloudtrace/v2andgoogleapis/monitoring/v3, whichcontrib.go.opencensus.io/exporter/stackdriverstill imports, and the build breaks.google.golang.org/grpcstays at v1.83.2 instead of v1.84.0. v1.84.0 is affected by GO-2026-6443 / CVE-2026-84445 (server panic via missing:authority). The fix is only in 1.82.2, 1.83.2 and an unreleased 1.85.0-dev. Staying on v1.83.2 also keepsgoogle.golang.org/apiat v0.298.0 instead of v0.299.0.golang.org/x/cryptogolang.org/x/netgolang.org/x/oauth2golang.org/x/sync/sys/text/timegoogle.golang.org/apigoogle.golang.org/genproto/googleapis/{api,rpc}cloud.google.com/go/authcloud.google.com/go/auth/oauth2adaptcloud.google.com/go/compute/metadatacloud.google.com/go/monitoring/trace/sqlgithub.com/googleapis/gax-go/v2github.com/googleapis/enterprise-certificate-proxygithub.com/google/s2a-gogithub.com/jackc/pgx/v5github.com/go-sql-driver/mysqlgithub.com/microsoft/go-mssqldbgo.opentelemetry.io/otel{,/metric,/trace}go.opentelemetry.io/contrib/.../otelgrpc,otelhttpgithub.com/prometheus/{client_model,common,procfs,statsd_exporter}cloud.google.com/go/cloudsqlconnstays at v1.25.2, which is its latest release.Minimum Go version. The
godirective moves from 1.25.8 to 1.26.0, because the updatedcloud.google.com/go/*,gax-go,x/cryptoandx/netmodules now require Go 1.26. The GitHub workflows are updated fromgo-version: "1.25"to"1.26"to match.v1-periodic.yamlchecks out thev1branch, so it is left at 1.25.Verification
go build ./...andgo vetpass.go test -shortpasses forcmd,internal/gcloud,internal/healthcheckandinternal/proxy.govulncheck ./...: 0 vulnerabilities affecting the code. Three remain in dependencies. None is called and none has a fix upstream:x/cryptoaws-sdk-gov1.55.8--pkg-types os,library) results on images built locally from this branch:2.25.4-alpineDockerfile.alpineDockerfile(distroless)apk list -uis empty: no package has a newer version available. All 22 installed packages have no unpatched entries in the Alpine 3.24 secdb.A patch release (2.25.5) is needed to publish the fixed images.