r/admincraft • u/riveyda • 4d 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.
71
Upvotes
24
u/hiromasaki 4d ago
Does Minecraft use Base64 for anything?
It also only affects Zen4 and up, and Intel CPUs from the last 9-10 years.
7
u/This-Marzipan-9239 4d ago
damn another rce
16
u/JkStudios 4d ago
They can have my docker container and everything in it.
8
u/celestialcitymc Server Owner | Celestial City 4d 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).
4
u/Dragontech97 4d ago edited 4d ago
Looks like OpenJDK posted an advisory(no patch yet on Ubuntu) and Oracle released a patch already. You can check and compare with java -version.
1
u/Professional_Loss_85 Server Owner 4d ago
Does this only affect Minecraft servers? What about singleplayer like me or Minecraft account?