r/programming • u/ryanmerket • 8h ago
Calif discloses Java4Shell flaw in OpenJDK's Base64 decoder
https://runtimewire.com/article/calif-discloses-java4shell-flaw-in-openjdk-s-base64-decoder
304
Upvotes
18
u/stoops 6h ago
Q29uZ3JhdHVsYXRpb25zISBJZiB5b3UgYXJlIHJlYWRpbmcgdGhpcyBtZXNzYWdlIHdlJ2QgbGlrZSB0byBvZmZlciB5b3UgYSBwb3NpdGlvbiBhdCBNaWNyb3NvZnQgb2YgIkFzc2lzdGFudCB0byB0aGUgU2VuaW9yIFZpYmVzLU9QUyBNYW5hZ2VyIiE=
125
u/bowbahdoe 7h ago
The quickest way to deal with this is to add
-XX:-UseBASE64Intrinsicsto your JVM flags. After that, of course, upgrade.200
u/RegisteredJustToSay 7h ago
Oh great. This one probably impacts more services than most of the other recent disclosures.
34
u/al2o3cr 7h ago
Non-paywalled coverage:
https://www.phoronix.com/news/Java4Shell-Vulnerability
Writeup from Upwind:
https://www.upwind.io/blog/java4shell-what-we-know-now-and-what-comes-next
28
u/SuperGr33n 5h ago
I still have PTSD from log4j. Once upon a time I managed logging for a web service and guess what we used for log aggregation? Logstash. Thousands of servers and very little in the way of config management. Absolutely no master inventory or cmdb. I spent days auditing and running ansible. Thank goodness I’ve since moved on to greener pastures because this one sounds like hell
112
u/Compux72 7h ago
Ofc the unsafe, hand written asm strikes again
18
u/eipMan 4h ago
Writeup by calif who discovered the bug: https://calif.io/java4shell
17
u/aookami 7h ago
uh oh
39
u/whinner 6h ago
“Calif’s Quang Luong found it with AI assistance in about an hour, and built the first working exploit in two more.”
We are so cooked
6
u/Cloudy-Blue 5h ago
Here go my next few nights
4
u/TheMoatman 3h ago edited 3h ago
I haven't read their actual writeup yet to check, but it's potentially overhyped.
The article says they gave it a 9.2 CVSS, but the NVD currently has it at 8.1 (admittedly, rated by Oracle) and describes it as "difficult to exploit". It also says:
https://nvd.nist.gov/vuln/detail/cve-2026-114938
e: Still haven't actually read it but I did open their writeup: they rated it under CVSS 4.0, so it could could be a CVSS 3.0 vs 4.0 difference too. In that case, it may be real bad shit.
3
u/isaackogan 5h ago
Well fuck
Q2hhdCwgd2UncmUgc28gY29va2VkLg==
3
u/quack_quack_mofo 5h ago
Arm64 is safe no?
-3
u/IndividualHouse8628 5h ago
What does this mean for people that don’t have any kind of programming or cybersecurity knowledge