Repository navigation
fix(model-server): update the base image to a JDK with the November 2026 security fixes - #3111
Merged
abstraktor merged 1 commit intoNov 25, 2026
Conversation
…026 security fixes The pinned ubi8/openjdk-17 image is from October 2024 and ships OpenJDK 17.0.13, which is affected by CVE-2026-114938 ("Java4Shell") and the other OpenJDK CVEs of Oracle's Critical Patch Update of 2026-11-17. Image 1.23-7 ships OpenJDK 17.0.21.1, which contains the fixes. The digest is pinned in addition to the tag, so that a rebuild cannot resolve a different image. Co-Authored-By: Claude Fable 5.2 <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
The
model-serverimage is built onregistry.access.redhat.com/ubi8/openjdk-17:1.20-2.1729094551, an image from October 2024. It ships OpenJDK 17.0.13 (Red_Hat-17.0.13.0.11-1), so the released images up to 20.1.0 are affected by the OpenJDK CVEs of Oracle's Critical Patch Update of 2026-11-17, including CVE-2026-114938 ("Java4Shell", heap corruption in the Base64 decoder, reported for 17.0.6 and later).Until an image with a fixed JDK is released, the JVM flag
-XX:-UseBASE64Intrinsicsswitches the affected code path off.Change
The base image moves to
ubi8/openjdk-17:1.23-7, which ships OpenJDK 17.0.21.1 (Red_Hat-17.0.21.1.2-2). The digest is pinned in addition to the tag, so that a rebuild cannot resolve a different image.The type is
fix, so that the merge releases a new image.Verification
./gradlew :model-server:jibDockerBuild;java -versionin the built image prints17.0.21.1+2-LTS.--inmemoryand/healthreturns 200../gradlew :model-client:jvmTestpasses;OAuthTeststarts the new image through Testcontainers.linux/amd64only.Not part of this PR
mps-git-importis built onmodelix/mps-base-image:2024.3, which was last built in April 2025 withtemurin-21-jdk. The Adoptium apt repository has the fixed21.0.13.1.0+2-0now, so a run of the "MPS baseimage" workflow and a digest update inmps-git-import-cli/build.gradle.ktswould bring the fix there.from.imageof the Jib configuration, which is why the base image stayed at the 2024 build.🤖 Generated with Claude Code