Skip to content

fix(ci): build fluent-bit image from a configurable upstream base tag - #2104

Draft
joshuabaird wants to merge 2 commits into
fluent:masterfrom
joshuabaird:fix/fluentbit-base-version
Draft

joshuabaird wants to merge 2 commits into
fluent:masterfrom
joshuabaird:fix/fluentbit-base-version

Conversation

@joshuabaird

Copy link
Copy Markdown
Collaborator

What this PR does / why we need it:

Upstream published fluent/fluent-bit:5.1.5-2 with the patched libbrotli1 (1.1.0-2+deb13u1), but the 5.1.5 tag still has the vulnerable 1.1.0-2+b7. Our build always uses VERSION as the base tag, so rebuilding (v5.1.5-1) didn't pick up the fix.

This adds cmd/fluent-watcher/fluentbit/BASE_VERSION to set the upstream base tag separately from VERSION. If the file is missing, the build falls back to VERSION. Our image tags still come from VERSION, so merging this produces v5.1.5-2 through the existing patch-release logic.

Upstream has no 5.1.5-2-debug tag yet. Until a matching debug tag exists, the debug image falls back to ${VERSION}-debug, which means the debug image still has the vulnerable library.

Which issue(s) this PR fixes:

Fixes #2082

Does this PR introduced a user-facing change?

Rebuild the fluent-bit image on fluent/fluent-bit:5.1.5-2 to pick up the libbrotli1 fix for CVE-2026-111497.

Additional documentation, usage docs, etc.:


🤖 Generated with Claude Code

joshuabaird and others added 2 commits October 30, 2026 09:42
Adds hack/sync-helm-charts.sh and a sync-helm-charts workflow that
release-please dispatches after each release. It opens a PR in
fluent/helm-charts with the synced charts, bumped versions, generated
CHANGELOG entries and regenerated READMEs.

Removes the stale chart CHANGELOGs here; fluent/helm-charts owns them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Josh Baird <jbaird@galileo.io>
Add cmd/fluent-watcher/fluentbit/BASE_VERSION so the upstream
fluent/fluent-bit base tag can differ from our VERSION. Upstream
published 5.1.5-2 with the libbrotli1 fix for CVE-2026-111497 but
did not update the 5.1.5 tag.

The debug image falls back to ${VERSION}-debug when no matching
upstream debug tag exists.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Signed-off-by: Josh Baird <jbaird@galileo.io>
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.

bug: fluent-bit image still ships vulnerable libbrotli1 (CVE-2026-111497)

1 participant