Skip to content

chore: bump Go to 1.26.11 and components for CVE fixes - #2344

Merged
google-oss-prow[bot] merged 3 commits into
GoogleContainerTools:mainfrom
tiffanny29631:bump-go-1.26.11
Nov 24, 2026
Merged

google-oss-prow[bot] merged 3 commits into
GoogleContainerTools:mainfrom
tiffanny29631:bump-go-1.26.11

Conversation

@tiffanny29631

@tiffanny29631 tiffanny29631 commented Nov 24, 2026 •

Copy link
Copy Markdown
Contributor

Fixes the findings in the periodic vulnerability scan on main (234 fixable as of 2026-11-24).

Changes

  1. Go 1.26.10 → 1.26.11 (GOLANG_IMAGE_VERSION). Every Config Sync image is flagged for 12 Go CVEs fixed in 1.26.11: CVE-2026-97040 (CRITICAL); CVE-2026-97033, -97034, -97035, -97036, -97037, -97038, -97039, -97041, -97042, -97043 (HIGH); CVE-2026-97054 (MEDIUM).
  2. kustomize v5.8.2-gke.0 → v5.8.2-gke.1: rebuilt with go1.26.11; no govulncheck findings.
  3. git-sync v4.5.0-gke.7 → v4.5.0-gke.10: go1.26.11, and rebuilt on current Debian packages. Container Analysis reports 0 fixable findings (45 fewer than gke.7: the 12 Go CVEs plus krb5, glibc and nghttp2).
  4. helm v3.21.1-gke.13 → v3.21.1-gke.14: go1.26.11, golang.org/x/net v0.62.0, klauspost/compress v1.20.2. Not flagged by the scan yet, but govulncheck reported these in gke.13; gke.14 has no fixable findings.
  5. apt-get upgrade in the debian-nonroot image stage (separate commit). apt-get install only updates git and its dependencies, so packages already in debian-base stay at the base image's version. The newest debian-base (trixie-v1.0.1-gke.0) still ships libc6 2.41-12+deb13u4, flagged for 14 fixable glibc CVEs; deb13u5 is in trixie-security. The git-sync image build already runs apt-get upgrade.

Expected effect on the scan

Findings Count After this PR
Go stdlib/toolchain in the 10 Config Sync images 120 cleared
Go and Debian findings in git-sync 45 cleared (gke.10)
krb5, glibc, nghttp2, patch in nomos and hydration-controller-with-shell 68 cleared by the rebuild + apt-get upgrade
go-jose in otelcontribcol 1 remains; looks like a scanner false positive (installed 4.1.6, upstream fix is 4.1.4)

Testing

  • go build ./cmd/... in google-go.pkg.dev/golang:1.26.11: all binaries build and report go1.26.11-X:boringcrypto.
  • go test ./pkg/hydrate/... with kustomize v5.8.2-gke.1 on PATH: pass.
  • Built the debian-nonroot stage with the Dockerfile change: libc6 2.41-12+deb13u5, krb5 1.21.3-5+deb13u2, libnghttp2 1.64.0-1.1+deb13u2, patch 2.8-2+deb13u1; the image still runs as nonroot.
  • Unit and e2e presubmits passed on the first two commits (before the git-sync gke.10 and helm gke.14 bumps were added).

- Go 1.26.10 -> 1.26.11 for all Config Sync binaries. Fixes
  CVE-2026-97040 (CRITICAL), CVE-2026-97033, CVE-2026-97034,
  CVE-2026-97035, CVE-2026-97036, CVE-2026-97037, CVE-2026-97038,
  CVE-2026-97039, CVE-2026-97041, CVE-2026-97042, CVE-2026-97043 (HIGH)
  and CVE-2026-97054 (MEDIUM), reported in every Config Sync image.
- kustomize v5.8.2-gke.0 -> v5.8.2-gke.1 (rebuilt with go1.26.11;
  no govulncheck findings).
- git-sync v4.5.0-gke.7 -> v4.5.0-gke.9 (go1.26.11; clears the same 12
  Go CVEs in the git-sync image).
The nomos and hydration-controller-with-shell images are built on
gke-release debian-base. `apt-get install` only updates the packages it
installs (git and its dependencies), so packages that are already in the
base image stay at the base image's version until a new debian-base tag
is published. The newest tag (trixie-v1.0.1-gke.0) still ships
libc6 2.41-12+deb13u4, which is flagged for 14 fixable glibc CVEs
(CVE-2026-5435, CVE-2026-6238, CVE-2026-6368, CVE-2026-6791,
CVE-2026-8674, CVE-2026-18374, CVE-2026-19499, CVE-2026-19542,
CVE-2026-77117, CVE-2026-80489, CVE-2026-86805, CVE-2026-89092,
CVE-2026-95818, CVE-2026-97399); 2.41-12+deb13u5 is in trixie-security.

Run `apt-get upgrade` so each build picks up Debian security updates for
base-image packages too, as the git-sync image build already does.
Rebuilding also picks up the fixed krb5, nghttp2 and patch packages
that come in with git.
- git-sync v4.5.0-gke.9 -> v4.5.0-gke.10: rebuilt on current Debian
  packages. Clears the krb5 (18 CVEs), glibc (14 CVEs) and nghttp2
  (CVE-2026-58055) findings; Container Analysis reports 0 fixable
  findings for gke.10.
- helm v3.21.1-gke.13 -> v3.21.1-gke.14: built with go1.26.11, with
  golang.org/x/net v0.62.0 (GO-2026-6860, GO-2026-6866) and
  github.com/klauspost/compress v1.20.2 (GO-2026-6865). govulncheck
  reports no fixable findings.
@tiffanny29631 tiffanny29631 changed the title chore: bump Go to 1.26.11, kustomize and git-sync for CVE fixes chore: bump Go to 1.26.11 and components for CVE fixes Nov 24, 2026

@Camila-B Camila-B left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm

@google-oss-prow

Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: Camila-B

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@tiffanny29631

Copy link
Copy Markdown
Contributor Author

/retest

@google-oss-prow
google-oss-prow Bot merged commit 52eeb92 into GoogleContainerTools:main Nov 24, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants