r/java • • 3d ago

Java4Shell Vulnerability: Update Your JetBrains IDEs, ReSharper, .NET Tools, Toolbox App, and Gateway Now

https://blog.jetbrains.com/security/2026/11/java4shell-vulnerability/
58 Upvotes

6 comments sorted by

View all comments

Show parent comment

12

u/Skellicious 3d ago

The 17th even.

When it dropped it felt like there was a lot of panic, but it turned out its really hard to abuse in the real world so the panic waned quickly.

I was actually surprised at how long it took some of the the openjdk vendors to release a patch

But also it's ultimately easy to negate with a command line flag.

3

u/nekokattt 3d ago

the main issue is when you are using third party software built on top of Java, and they do not provide a nice way of overriding JVM flags.

Looking at Gradle Enterprise and Keycloak as a prime example...

The main risk of Java4Shell is either walking off the end of an OS page and being segfaulted in some configurations, or heap corruption tbh.

6

u/vips7L 3d ago

Keycloaks startup script respects JAVA_OPTS and has a custom JAVA_OPTS_APPEND environment variable that easily lets you change JVM flags.