Repository navigation
fix(docker): upgrade musl, zlib and libexpat in runtime images - #195
Merged
Merged
Conversation
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>
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.
Problem
Since #193/#194,
frontend-dockerandbackend-dockerfail in the Trivy image scan (HIGH,CRITICAL gate). Cause: new Alpine 3.24 advisories, not the Dependabot bumps themselves.Fix
Added
musl musl-utils zlibto the existingapk upgradelines in both Dockerfiles (libexpat was already in the backend list; the fixed version is now available in the repo). No.trivyignoreentries.Verification
Built both images locally with
--no-cacheand scanned with Trivy 0.70.0 (--severity HIGH,CRITICAL): 0 findings in both images, app.jar 0.🤖 Generated with Claude Code