Skip to content

fix(buildkitd): pin moby/buildkit v0.34.2 by digest (Brotli CVE-2026-111497) - #212

Merged
techize merged 1 commit into
mainfrom
fix/buildkitd-pin-v0.34.2
Nov 10, 2026
Merged

techize merged 1 commit into
mainfrom
fix/buildkitd-pin-v0.34.2

Conversation

@techize

@techize techize commented Nov 10, 2026

Copy link
Copy Markdown
Owner

Why

buildkitd used the floating dockerhub-cache/moby/buildkit:latest with imagePullPolicy: IfNotPresent, so node03 kept running an old cached pull (buildkit v0.32.2, Alpine 3.23.5, brotli-libs 1.2.0-r0, vulnerable to CVE-2026-111497) even though upstream latest was fixed on 3 Nov.

Already live

On 10 Nov (Jonathan approved the outstanding cluster updates) I pre-pulled the current latest on node03 and ran kubectl rollout restart deploy/buildkitd at 12:38:50 GMT (ready 12:39:03, no build running at the time). The pod now runs moby/buildkit@sha256:c5f8862f… = v0.34.2, Alpine 3.23.7, brotli-libs 1.2.1-r0. The image field was not changed, so Argo CD stayed Synced.

This PR

Pins the same image by tag + digest (v0.34.2@sha256:c5f8862f…, the same as upstream latest today), like the umami/cloudflared/github-runner pins, so a future restart can't fall back to a stale cache.

Merging makes Argo CD (batchivo-app, self-heal) restart buildkitd once on the same image (Recreate, about 15 s). Best merged when no Woodpecker build is running.

Verified

  • buildctl debug workers OK; a test Dockerfile build (busybox base, RUN step, local export) succeeded on the new daemon.

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying batchivo with  Cloudflare Pages  Cloudflare Pages

Latest commit: 106c70f
Status: ✅  Deploy successful!
Preview URL: https://378ae88f.batchivo.pages.dev
Branch Preview URL: https://fix-buildkitd-pin-v0-34-2.batchivo.pages.dev

View logs

@techize
techize merged commit 85cdb40 into main Nov 10, 2026
2 of 4 checks passed
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.

1 participant