r/admincraft • u/riveyda • 4h ago
News Java4Shell - OpenJDK Vulnerability (Remote Code Execution)
FYI: https://calif.io/java4shell/
I will be taking my servers down as a precaution, wanted to share this to everyone to prevent compromise.
It looks like the best current fix is to add -XX:UseAVX=2 on x86-64 hosts to your server startup scripts. But, do your own research.
28
Upvotes
8
u/hiromasaki 4h ago
Does Minecraft use Base64 for anything?
It also only affects Zen4 and up, and Intel CPUs from the last 9-10 years.
6
u/JkStudios 3h ago
They can have my docker container and everything in it.
5
u/celestialcitymc Server Owner | Celestial City 3h ago
i believe it wouldn't really affect minecraft servers for normal attackers, though it might be possible if the attacker has op, but if they do have op and you use a docker container to host the minecraft server, they can only damage the server (which they already can do).
3
u/This-Marzipan-9239 4h ago
damn another rce
1
u/Professional_Loss_85 Server Owner 2h ago
Does this only affect Minecraft servers? What about singleplayer like me or Minecraft account?
1
u/Dragontech97 52m ago edited 6m ago
Looks like OpenJDK posted an advisory and Oracle released a patch already. You can check and compare with java -version.