Repository navigation
Conversation
Mitigate CVE-2026-114938 (JDK-8393212), a heap out-of-bounds write in OpenJDK HotSpot's C2 x86-64 AVX-512 VBMI java.util.Base64 decodeBlock intrinsic, across all Nomulus Dataflow Flex Template pipelines (including RdePipeline on n2-standard-4 workers and Spec11Pipeline, which calls java.util.Base64.getDecoder().decode in SafeBrowsingTransforms): - Pass environment_variables=JDK_JAVA_OPTIONS=-XX:-UseBASE64Intrinsics via --additional-experiments in release/stage_beam_pipeline.sh (alongside disable_runner_v2) so all Cloud Build staged Flex Templates bake the mitigation into defaultEnvironment.additionalExperiments. - Pass the same --additional-experiments flag in core/build.gradle's alpha stageBeamPipelines task. This matches the GCP-2026-082 Dataflow mitigation guidance and extends the indefinite defense-in-depth -XX:-UseBASE64Intrinsics flag from google#3273 to Dataflow worker JVMs. BUG= http://b/588463824
CydeWeys
enabled auto-merge
November 20, 2026 21:20
This branch has not been 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.
Mitigate CVE-2026-114938 (
JDK-8393212), a heap out-of-bounds write in OpenJDK HotSpot's C2 x86-64 AVX-512 VBMIjava.util.Base64decodeBlockintrinsic, across all Nomulus Dataflow Flex Template pipelines.Changes
release/stage_beam_pipeline.sh: Appendenvironment_variables=JDK_JAVA_OPTIONS=-XX:-UseBASE64Intrinsicsto--additional-experiments(alongsidedisable_runner_v2) so all Cloud Build–staged Flex Templates (RdePipeline,Spec11Pipeline,InvoicingPipeline,ExpandBillingRecurrencesPipeline,ResaveAllEppResourcesPipeline,SmokeTestPipeline) bake the mitigation intodefaultEnvironment.additionalExperiments.core/build.gradle: Pass--additional-experiments=environment_variables=JDK_JAVA_OPTIONS=-XX:-UseBASE64Intrinsicsin thealphastageBeamPipelinestask.Reachability, Justification & Blast Radius
RdePipelineexecutes daily in production onn2-standard-4workers (which can schedule on AVX-512 VBMI Ice Lake CPUs) using unpatched OpenJDK 25 (beam-java25-batch:2.77.0), andSpec11Pipeline(SafeBrowsingTransforms.java) directly invokesjava.util.Base64.getDecoder().decodeon external API responses.--additional-experiments="environment_variables=JDK_JAVA_OPTIONS=-XX:-UseBASE64Intrinsics") and extends the defense-in-depth-XX:-UseBASE64Intrinsicsflag from Disable JVM Base64 intrinsics for CVE-2026-114938 #3273 to Dataflow worker JVMs.alpha,crash,qa,sandbox, andproduction. Verified locally withgcloud dataflow flex-template build --print-only,bash -n,./gradlew runPresubmits :core:standardTest -x :console-webapp:buildConsoleWebapp, andpr-polisher(check_diff.py).BUG= http://b/588463824
This change is