Repository navigation
Rebuild on the fixed distroless JDK (Java4Shell) and remove the Base64 intrinsics mitigation - #725
Merged
Merged
Conversation
vpaturet
force-pushed
the
java4shell-fixed-jdk
branch
from
November 27, 2026 11:57
63a657b to
7d5bb80
Compare
…4 intrinsics mitigation CVE-2026-114938: a JDK with the fix is now available, so the temporary -XX:-UseBASE64Intrinsics mitigation is no longer needed.
setup-java v6.2.0 keeps Liberica's fourth version component, so java-version 25.0.5.1 resolves to exactly 25.0.5.1+5. The tarball download was only needed because older versions could not select such a build.
vpaturet
force-pushed
the
java4shell-fixed-jdk
branch
from
November 27, 2026 12:02
7d5bb80 to
6ab02a5
Compare
|
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.



Java4Shell (CVE-2026-114938): this replaces the temporary mitigation from #724 with the real fix.
gcr.io/distroless/java25-debian13:nonroot, which has shipped Temurin25.0.5.1+2since at least 2026-11-19 (checked again 2026-11-20). BuildKit resolves the tag to its current digest at build time, so the image built from this PR gets the fixed JDK. The image currently deployed was built before that and runs Temurin25.0.5+8.-XX:-UseBASE64Intrinsicsis dropped from the JVM options. Chart and image ship in the same deploy, so no pod runs the old JDK without the flag.bellsoft/liberica-openjre-alpine25.0.5.0.3→25.0.5.1, for consistency only. That stage only extracts the jar layers and is not part of the final image.distribution: liberica/java-version: 25.0.5.1, withactions/setup-javabumped to v6.3.0. The tarball download with a hand-checked checksum was added for the eMudhra fix because setup-java up to v6.1.0 dropped Liberica's 4th version component, so it could not tell25.0.5.0.3+5from25.0.5.0.2+5. Since v6.2.0 (Fix Liberica Java 25 release resolution actions/setup-java#1313) it keeps that component, so25.0.5.1resolves to exactly25.0.5.1+5. CI on this branch confirms it: setup-java logsDownloading Java 25.0.5+1.5 (Liberica) from …/25.0.5.1+5/bellsoft-jdk25.0.5.1+5-linux-amd64.tar.gz. One thing is lost with the tarball step: setup-java does not verify checksums forliberica(its automatic verification covers temurin, zulu, corretto and others, not Liberica), so the download is trusted over HTTPS only, as it was before the eMudhra pin.After deploy:
kubectl exec <pod> -- java -versionshould reportTemurin-25.0.5.1+2.