Skip to content

fix(docker): upgrade musl, zlib and libexpat in runtime images - #195

Merged
WolfTasks merged 1 commit into
mainfrom
fix/ci-trivy-2026-11-07
Nov 7, 2026
Merged

WolfTasks merged 1 commit into
mainfrom
fix/ci-trivy-2026-11-07

Conversation

@WolfTasks

Copy link
Copy Markdown
Owner

Problem

Since #193/#194, frontend-docker and backend-docker fail in the Trivy image scan (HIGH,CRITICAL gate). Cause: new Alpine 3.24 advisories, not the Dependabot bumps themselves.

Package Installed Fixed CVE Image
musl, musl-utils 1.2.6-r2 1.2.6-r3 CVE-2026-107891 frontend + backend
zlib 1.3.2-r0 1.3.2-r1 CVE-2026-85091 frontend + backend
libexpat 2.9.0-r0 2.10.0-r0 CVE-2026-113351, -115506, -117610, -118370 backend

Fix

Added musl musl-utils zlib to the existing apk upgrade lines in both Dockerfiles (libexpat was already in the backend list; the fixed version is now available in the repo). No .trivyignore entries.

Verification

Built both images locally with --no-cache and scanned with Trivy 0.70.0 (--severity HIGH,CRITICAL): 0 findings in both images, app.jar 0.

🤖 Generated with Claude Code

Trivy image gate failed on main after #193/#194 because new Alpine 3.24
advisories hit packages in both runtime images:

- musl/musl-utils 1.2.6-r2 -> 1.2.6-r3 (CVE-2026-107891), both images
- zlib 1.3.2-r0 -> 1.3.2-r1 (CVE-2026-85091), both images
- libexpat 2.9.0-r0 -> 2.10.0-r0 (CVE-2026-113351/115506/117610/118370),
  backend (already in the apk upgrade list, now pinned in comment)

Verified locally with Trivy 0.70.0: 0 HIGH/CRITICAL in both images.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@WolfTasks
WolfTasks merged commit 9007c21 into main Nov 7, 2026
11 checks passed
@WolfTasks
WolfTasks deleted the fix/ci-trivy-2026-11-07 branch November 7, 2026 13:21
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