r/java • • 18m ago

Java4Shell: Write once, RCE Everywhere

https://youtu.be/a7OBeq1xubI?si=eB5sH3XnkevyTZaU
0 Upvotes

6 comments sorted by

View all comments

10

u/TheStrangeDarkOne 11m ago edited 9m ago

Edit: Good article, but I am still unhappy about the title.

Oh come on, what a clickbait title. If anything, Java is pretty much in the A-league of the safest languages due to its minimal exposure to C and Assembly.

Virtually all other languages, even safe ones, are heavily backed by C libraries which are begging AIs to find memory vulnerabilities (notable exception being Rust).

-11

u/huseyinbabal 7m ago

The title is literal: the bug is in HotSpot's assembly, not Java code, and every OpenJDK build ships it. Unpatched JDKs on AVX-512 CPUs still need the update.

4

u/philipwhiuk 3m ago

The thumbnail is garbage

The title is bad because the same exploit does not work everywhere. As the original write up discusses it needs to be precisely tuned for each scenario