ROB-626: rebuild on fresh base to fix libcrypto3/openssl CVEs#114
Open
Avi-Robusta wants to merge 1 commit into
Open
ROB-626: rebuild on fresh base to fix libcrypto3/openssl CVEs#114Avi-Robusta wants to merge 1 commit into
Avi-Robusta wants to merge 1 commit into
Conversation
The runtime CVEs come from the chainguard/bash base image (libcrypto3/libssl3). A fresh --pull rebuild picks up the patched base. Also switch the Go builder to cross-compilation (FROM --platform=$BUILDPLATFORM + GOARCH=$TARGETARCH) so multi-arch (amd64+arm64) builds don't run the Go compiler under QEMU emulation, which was crashing. Fixes CVE-2026-34180/34181/34182/34183/42764/42765/45445/45447/7383/9076. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
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.
Sub-issue ROB-626 of ROB-595. Fixes the base-image openssl/libcrypto3 CVEs flagged for
devel/kubewatchin the 2026-07-14 Vanta scan.Fix
The vulnerable
libcrypto3/libssl3come from thecgr.dev/chainguard/bashruntime base. A fresh--pullrebuild picks up the patched base (libcrypto3 → 3.6.2-r5+), clearing:CVE-2026-34180/34181/34182/34183/42764/42765/45445/45447/7383/9076.
Also switched the Go builder to cross-compilation (
FROM --platform=$BUILDPLATFORM golang+GOARCH=$TARGETARCH) so multi-arch (amd64+arm64) builds don't run the Go compiler under QEMU emulation — which was crashing with a nil-pointer panic when building amd64 on an arm64 host.Validation
Built multi-arch and pushed
devel/kubewatch:v2.15.0-cve20260714;docker scoutre-checked for the target CVEs (see PR checks / ticket). Deploying toavi-test-cluster2forwarders.🤖 Generated with Claude Code