Skip to content

fix(docker): bump alpine:3.23.5 base to patched expat digest - #271

Merged
Patel230 merged 1 commit into
mainfrom
fix/base-image-trivy
Sep 3, 2026
Merged

fix(docker): bump alpine:3.23.5 base to patched expat digest#271
Patel230 merged 1 commit into
mainfrom
fix/base-image-trivy

Conversation

@Patel230

@Patel230 Patel230 commented Sep 3, 2026

Copy link
Copy Markdown
Contributor

Fixes the Docker/Trivy CRITICAL/HIGH gate failing since 08-30 (CVE-2026-56408, CVE-2026-66046, CVE-2026-76641 in expat < 2.8.3-2).

Bumps both Dockerfile and Dockerfile.daemon runtime base from alpine:3.23.5@fd791d74 to alpine:3.23.5@1beb0dc0 (expat 2.8.4-r0, patched). Verified locally: the actual CI trivy command exits 0 on the rebuilt image; the only remaining HIGH (CVE-2026-14456 OpenSSL) is already in .trivyignore.

@Patel230
Patel230 force-pushed the fix/base-image-trivy branch from 26adf50 to 5b9bbb0 Compare September 3, 2026 00:28
The Docker/Trivy CRITICAL/HIGH gate has been failing since 08-30 on all
three hawk images (CVE-2026-56408, -66046, -76641 in expat < 2.8.3-2).
The failing RUN apk/apt layers are cached via cache-from: type=gha, so
re-running with the same base digest restores the vulnerable layer.

- Dockerfile + Dockerfile.daemon: alpine:3.23.5@fd791d74 -> alpine:3.24@28bd5fe8 (libexpat 2.8.4-r0)
- internal/sandbox/sandbox.Dockerfile: node:22-bookworm-slim@d649c27d -> @4d676821 (libexpat 2.8.3-2+)

Each new digest invalidates the GHA cache so the package layer rebuilds
with patched expat. Verified locally: the CI trivy command exits 0 on
the rebuilt amd64+arm64 hawk images and the sandbox image.
@Patel230
Patel230 force-pushed the fix/base-image-trivy branch from 5b9bbb0 to cff70ac Compare September 3, 2026 00:36
@Patel230
Patel230 merged commit 316ee4e into main Sep 3, 2026
26 checks passed
@Patel230
Patel230 deleted the fix/base-image-trivy branch September 3, 2026 00:51
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