AI Services Market
AI Services Market › Skills factory › Security › JDK Inventory and Patch Sprint
Free · No sign-inv1.0.0– views

JDK Inventory and Patch Sprint

Find every JDK you actually run — including the ones bundled inside other products — and close Java4Shell fast.

Inventory every JDK in your estate — including runtimes bundled inside vendor products — check hardware and version against Java4Shell (CVE-2026-114938), and patch or mitigate with -XX:-UseBASE64Intrinsics until fixed builds are deployed.

JDK Inventory and Patch Sprint preview
Best for
Platform, infrastructure, and security teams responsible for Java services and vendor products
Time needed
3 hours
Level
Intermediate

Install it in 3 steps

No sign-up. No CLI tools. Pick your AI, copy one line, paste it over.

Prefer doing it yourself? Download the ZIP for free, unzip it into the directory shown above, restart your AI session — same result. Your AI assistant can download it for you too.

What's inside

One SKILL.md (the playbook) + one starter template. A preview:

The idea

Java4Shell (CVE-2026-114938) is a heap-based buffer overflow in the HotSpot JVM's AVX-512 VBMI Base64 decoding intrinsic behind java.util.Base64. A malformed Base64 value with an unexpected trailing "=" can miscalculate output length and write past the buffer before Java rejects the input, according to Palo Alto Networks' analysis. The flaw was disclosed on November 17, 2026 by Calif, and Oracle and OpenJDK patches landed the same day. The hard part for most teams is not the patch itself — it is knowing where Java runs at all. Vendor products bundle their own JDKs, and Keycloak's November 19 update showed the trap clearly: images 26.8.2-1 and 26.8.2-2 bundled a vulnerable OpenJDK 21 and had to be replaced by 26.8.2-3. This skill builds a complete inventory first, then patches or mitigates in risk order.

Am I affected? The two gates

Check both gates before panicking or relaxing. Version gate: OpenJDK 17.0.6 and later across Java 17, 21, 25, and 27 before the fix, plus downstream distributions including Oracle Java SE, Corretto, Temurin, Microsoft Build of OpenJDK, Azul Zulu, Red Hat OpenJDK, Liberica, and SapMachine. Standard Java 8, Java 11, and OpenJDK 17.0.0-17.0.5 are not affected. Hardware gate: only x86-64 machines with AVX-512 VBMI — Intel Xeon Ice Lake and later, AMD Zen 4 and later. ARM64 and Graviton systems are not affected. A vulnerable version on non-AVX-512 hardware does not meet the hardware gate; record that explicitly rather than leaving it ambiguous.

Workflow

  1. Inventory from three sources. Query your CMDB and cloud instance metadata, scan hosts and containers for java binaries and JAVA_HOME paths, and list vendor products known to bundle a JDK. Reconcile the three lists — anything found by only one source is exactly the blind spot this skill exists for.
  2. Record version, distribution, and CPU for every entry. For each runtime capture the exact version string, the distribution name, the host CPU model, and whether AVX-512 VBMI is present. On Linux, check /proc/cpuinfo flags for avx512vbmi.
  3. Classify each entry. Affected (vulnerable version plus AVX-512 VBMI), not affected by version, not affected by hardware, or unknown. Unknowns get an owner and a deadline, never a silent pass.
  4. Patch affected internet-facing services first. Move to the first fixed builds or later: OpenJDK 17.0.21.1, 21.0.13.1, 25.0.5.1, or 27.0.1.1, or your distribution's equivalent fixed release.
  5. Mitigate what cannot patch today. Restart the JVM with -XX:-UseBASE64Intrinsics, or -XX:UseAVX=2, and verify the flag is actually in the running process arguments. Record mitigation as temporary, with a patch date attached.
  6. Sweep bundled runtimes separately. For each vendor product, check the vendor's own advisory and the exact JDK bundled in your deployed version — do not assume your host JDK version describes a container image or appliance.
  7. Verify after the change. Re-run the version and flag check on every changed host, confirm the service still decodes legitimate Base64 traffic, and close the inventory row only with evidence attached.
  8. Keep the inventory. Schedule a monthly refresh so the next JVM vulnerability starts from a list, not from a scramble. Feed disputed vendor claims to [vendor-exposure-verifier] and the first-day response to [vulnerability-triage-24h-playbook].

Template preview

JDK Inventory and Patch Sprint — Worksheet

1. Inventory

2. Patch and mitigation queue

3. Bundled-runtime sweep

  • [ ] Every vendor product checked against its own advisory
  • [ ] Container images checked for their bundled JDK, not the host JDK
  • [ ] Unknowns each have an owner and a deadline

4. Close-out

  • [ ] All affected rows patched or mitigated and re-verified
  • [ ] Mitigations logged as temporary with patch dates
  • [ ] Inventory refresh scheduled

Download the ZIP — free

You may also like