Skip to content

AIML-1517 Bump Docker base images to Temurin 21.0.13 to fix Wiz scan - #284

Draft
ChrisEdwards wants to merge 3 commits into
mainfrom
AIML-1517-bump-temurin-base-images
Draft

ChrisEdwards wants to merge 3 commits into
mainfrom
AIML-1517-bump-temurin-base-images

Conversation

@ChrisEdwards

@ChrisEdwards ChrisEdwards commented Nov 3, 2026 •

Copy link
Copy Markdown
Collaborator

Jira: AIML-1517

Summary

Moves the Docker image to Temurin 21.0.13 so the Wiz Scan passes again. The scan has failed on every push to main since Oct 9 because of JRE CVEs in the base image.

  • Wiz Scan should pass on this PR and on main after merge.

Why This Change Exists

Wiz blocks the image under the Contrast-OSS policy. The JRE on main (21.0.11) has CVE-2026-62574 and CVE-2026-47063, fixed in 21.0.12+8. The next JRE (21.0.12.1) still has CVE-2026-91403 (CRITICAL), where the OpenJDK truststore trusts the compromised eMudhra/emSign G3 roots. That one is fixed in 21.0.13. The Dockerfile pinned the floating 21-*-alpine tags by digest, and Dependabot never opened a digest bump.

What Changed

Both stages now pin an explicit Temurin version by digest.

-FROM eclipse-temurin:21-jdk-alpine@sha256:4fb80de7... AS builder
+FROM eclipse-temurin:21.0.13_9-jdk-alpine@sha256:b78a1d38... AS builder
-FROM eclipse-temurin:21-jre-alpine@sha256:704db3c4...
+FROM eclipse-temurin:21.0.13_9-jre-alpine@sha256:82cf3d9c...

The 21.0.13_9 images were published Oct 29, inside the 7-day Dependabot cooldown. Security confirmed that the soak rule applies to Dependabot, not to manual PRs that fix CVEs.

Testing

  • Ran the pinned JRE image locally. java -version reports 21.0.13, and the truststore no longer has the emSign G3 roots. Only emSign Root CA - G1 remains, and it is not distrusted.
  • The pre-push check passed. The Wiz Scan on this PR is the real gate.

Risks / Rollout / Follow-ups

  • Dependabot PRs will still fail Wiz with "Not authenticated" because Dependabot runs don't receive the Wiz secrets. That's being handled separately in #contrast-labs.

Generated with Claude Code

ChrisEdwards and others added 2 commits November 3, 2026 09:35
Wiz Scan fails on main with FAILED_BY_POLICY (Contrast-OSS) for
CVE-2026-62574 and CVE-2026-47063 in JRE 21.0.11, fixed in 21.0.12+8.

Pin both stages to eclipse-temurin 21.0.12.1_1 alpine by digest.
Published Oct 22, so it clears the 7-day soak window (ENTSEC-1742).

Co-Authored-By: Claude <noreply@anthropic.com>
Wiz flagged CVE-2026-91403 (CRITICAL, eMudhra/emSign G3 roots trusted
by the OpenJDK truststore) in 21.0.12.1, fixed in 21.0.13. Pin both
stages to eclipse-temurin 21.0.13_9 alpine by digest.

Co-Authored-By: Claude <noreply@anthropic.com>
@ChrisEdwards ChrisEdwards changed the title AIML-1517 Bump Docker base images to Temurin 21.0.12.1 to fix Wiz scan AIML-1517 Bump Docker base images to Temurin 21.0.13 to fix Wiz scan Nov 3, 2026
@ChrisEdwards
ChrisEdwards marked this pull request as ready for review November 3, 2026 14:50
@ChrisEdwards
ChrisEdwards requested a review from a team as a code owner November 3, 2026 14:50
@ChrisEdwards
ChrisEdwards marked this pull request as draft November 3, 2026 15:30

This branch has not been deployed

No deployments
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