AI Services Market
AI Services Market › Fabbrica delle skill › Sicurezza › JDK Inventory and Patch Sprint
Free · Nessun login necessariov1.0.0– visualizzazioni

JDK Inventory and Patch Sprint

Trova ogni JDK che esegui davvero — inclusi quelli integrati in altri prodotti — e chiudi Java4Shell in fretta.

Inventaria ogni JDK nel tuo ambiente — inclusi i runtime integrati nei prodotti di terze parti — verifica hardware e versione rispetto a Java4Shell (CVE-2026-114938) e applica patch o mitigazione con -XX:-UseBASE64Intrinsics finché le build corrette non sono distribuite.

Anteprima di JDK Inventory and Patch Sprint
Ideale per
Team piattaforma, infrastruttura e sicurezza responsabili dei servizi Java e dei prodotti di terze parti
Tempo necessario
3 ore
Livello
Intermedio

Installala in 3 passaggi

Nessuna registrazione. Nessuno strumento da riga di comando. Scegli la tua AI, copia una riga e incollala.

Preferisci fare da te? Scarica lo ZIP gratis, decomprimilo nella cartella mostrata sopra e riavvia la sessione della tua AI — stesso risultato. Il tuo assistente AI può scaricarlo anche per te.

Cosa contiene

Un file SKILL.md (la guida operativa) + un modello di partenza. Un'anteprima:

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].

Anteprima del modello

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

Il pacchetto della skill (SKILL.md + modello) è scritto in inglese.

Download the ZIP — free

Potrebbe piacerti anche