← Back to Pull requests

[java21] openjdk v21.0.13.1 (CVE-2026-114938) #227

Closed
unknown closed this pull request without merging on Nov 18, 2026 21:27 UTC
View on GitHub
unknown unknown commented on Nov 18, 2026 14:53 UTC
Author

Updates openjdk on the java21 branch to 21.0.13.1, which fixes CVE-2026-114938 ("Java4Shell", https://calif.io/java4shell). On x86-64 CPUs with AVX-512 VBMI, the Base64 decode intrinsic miscalculates the store mask for padded input and writes past the end of the output buffer. Upstream fixed this in JDK-8393212 ("Base64 optimization improvements"), part of the Nov 17 2026 CPU (jdk-21.0.13.1+2 = jdk-21.0.13.1-ga).

Changes:

  • linux: build from the jdk-21.0.13.1+2 source tag.

  • osx/win: switch to Zulu 21.0.13.1. Hashes come from Azul's metadata API, and I re-checked the osx-arm64 one by downloading the zip.

  • Temurin boot JDK is pinned separately (bootjdk_full: "21.0.10+7", same tarball and hash as before). Temurin is only used for --with-boot-jdk in the from-source linux build, and Temurin 21.0.13.1 GA isn't published yet, so this unblocks linux without waiting for it.

  • build.sh: the new Zulu macOS zips are a .jdk bundle with the JDK under Contents/Home/, not a flat layout, so the script now cds into it when present. Without this, the osx build fails with chmod: cannot access 'bin/'.

  • Build number reset to 0, and the recipe rerendered.
  • Tested locally on osx-arm64; the tests pass and java -version reports 21.0.13.1. Linux and Windows need CI.

    java11 is not affected: 11.0.33.1 does not contain the Base64 change, and the advisory lists 17.0.6+ as affected.

    Checklist
    [x] Used a personal fork of the feedstock to propose changes
    [x] Reset the build number to 0
    [x] Re-rendered with the latest conda-smithy

  • Ensured the license file is being packaged.
  • 🤖 Generated with Claude Code

    Diff: 211 lines (+158 / -53) across 2 files Reviewer: h-vetinari Review duration: 394m
    All Vouch review confidence checks passed
    Residual risk 0.14 = Change Risk (0.36) × (1 − Review Confidence (0.60)). Review depth and reviewer attention state are adequate.
    Model 1 · Change Risk (XGBoost)
    Score: 0.36 · 211 lines diff across 2 files
    0.36
    Model 2 · Review Depth (DistilBERT)
    Depth Score: 0.17 · 1 substantive comment(s)
    0.17
    Model 3 · Review Timing & Attention
    Session adequacy: 100% · Reviewer familiarity: 35%
    60%
    Bedrock Claude 3 · Risk Narration
    (disconnected)
    Groq
    Groq Risk Narration
    AWS Bedrock is currently disconnected. Generate high-confidence PR triage narration on-demand using Groq.
    Model 1 · Change Risk Attribution
    SHAP Weights
    Diff Size diff_size
    0.320
    Shallow Review Depth shallow_review_depth
    0.289
    Real PR Conversation Timeline
    1 comments
    "Review active on #227"
    general weight: 0.35
    Reviewers
    Assignees
    Unassigned
    Labels
    risk: low confidence: 60.5% reviewed
    Vouch Risk Breakdown
    AI-powered review risk analysis
    Change Risk
    Change Risk · Model 1 (XGBoost)
    Predicted defect probability (0.00–1.00) based on diff churn, modified sensitive files, and author risk history.
    Score: 36.5% (MEDIUM) · Higher = larger blast radius
    36.5%
    Review Confidence
    Review Confidence · Models 2 & 3
    Scrutiny score (0.00–1.00) combining DistilBERT semantic review depth with reviewer familiarity and session dwell time.
    Score: 60.5% · Lower = rushed or shallow review
    60.5%
    Residual Risk
    Residual Risk · Core Equation
    Residual = Change × (1 − Confidence)
    Unmitigated risk surviving review. ≥ 0.65 triggers an automated re-queue to protect production.
    Score: 14.4% · Safe to merge
    14.4%