Repository navigation
fix: mitigate CVE-2026-114938 (Java4Shell) in JVM entrypoint - #158
Merged
Merged
Conversation
eclipse-temurin:21.0.8_9 (Java 21.0.8) on linux/x86_64 is affected by CVE-2026-114938 — a pre-auth RCE via the AVX-512 VBMI Base64 decoder in OpenJDK 17.0.6+ / 21 / 25 on x86-64 hosts with AVX-512 VBMI support. Adds -XX:-UseBASE64Intrinsics before ${JAVA_OPTS} so the flag is always present regardless of what callers set in JAVA_OPTS at deploy time. Takes effect on next restart; no image bump required. Refs: CVE-2026-114938
maikschwan
approved these changes
Nov 18, 2026
perbernhardt
temporarily deployed
to
ghcr:leanix-github-agent
November 18, 2026 13:42 — with
GitHub Actions
Inactive
LeanIX GitHub Agent Code Coverage
|
This branch was previously deployed
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.
Summary
Adds
-XX:-UseBASE64Intrinsicsto the JVM launch command inDockerfile.Background
eclipse-temurin:21.0.8_9-jre-alpinebundles Java 21.0.8 and the image explicitly targetslinux/x86_64— both conditions required for CVE-2026-114938 (Java4Shell), a pre-authentication RCE via the AVX-512 VBMI Base64 decoder in OpenJDK 17.0.6+, 21, and 25.The
-XX:-UseBASE64Intrinsicsflag disables the vulnerable intrinsic. It is placed before${JAVA_OPTS}so it cannot be accidentally overridden at deploy time. Takes effect on next restart — no image bump required.Changes
Dockerfilejava ${JAVA_OPTS} -jar /app.jar→java -XX:-UseBASE64Intrinsics ${JAVA_OPTS} -jar /app.jarReferences