Skip to content

Commit 7bfbe29

Browse files
fix(docker): upgrade Alpine OS packages to resolve openssl HIGH CVE
security-scanning (Trivy) failed the PR: libcrypto3/libssl3/openssl 3.5.7-r0 in the eclipse-temurin:21-jdk-alpine base image carry CVE-2026-14456 (HIGH, OpenSSL DoS via unbounded memory growth in QUIC server), fixed in 3.5.8-r0. apk upgrade before installing curl pulls the patched packages - verified locally by building the image and checking apk info -v.
1 parent dadf409 commit 7bfbe29

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docker/Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ COPY --from=build /build/target/${JAR_NAME}.jar /app/app.jar
3838

3939
RUN chown app:app /app/app.jar
4040

41-
RUN apk add --no-cache curl
41+
RUN apk update && apk upgrade --no-cache && apk add --no-cache curl
4242

4343
# Use non-root user from here on
4444
USER app:app

0 commit comments

Comments
 (0)