What to know now
Java4Shell is a heap buffer overflow in the Compiler component of Java SE. A service that feeds outside data to that API can have its Java process taken over without a login. Oracle rates it difficult to exploit, and as of 21 November there is no report of exploitation. Many Korean organisations’ sites run on Java, though.
What we saw
These numbers come from the responses stored by our weekly run of 16 November, one day before disclosure, re-judged with the Java check we added on 18 November. In 46 of the 47 the sign was the servlet default session cookie (JSESSIONID); in one, a servlet marker in a response header. The 10 that returned a block page were not counted as showing the sign.
A sign only says a Java server answered; the JDK version does not show from outside. KISA’s corrected table of 19 November lists only the Java 8 Performance Pack (-perf) builds for this flaw, and neither regular Java 8 nor Java 11. So not all 47 are vulnerable. The same update fixes two other flaws on regular Java 8 and 11, which is reason enough to check. From the next weekly run, the numbers are added to this page.
What to do
- Check the JVM your application server actually runs, not the
java -versionof a shell (the guide lists the commands). - Update to Oracle’s fixed release (17.0.21.1, 21.0.13.1, 25.0.5.1, 27.0.1.1; 8u513-perf for the Java 8 Performance Pack) or later, and restart every Java process.
- For Temurin, Corretto, Zulu or distribution packages, don’t judge by the number; compare with that vendor’s notice.
- For Java bundled in products (application servers, appliances), ask the vendor for their patch.