61 points b33f 6 hours ago 15 comments

plmpsu 1 hour ago | parent

Does anyone know what the attack vector of this is? I'm trying to figure out if our usage is affected by this CVE.

vips7L 40 minutes ago | parent

No details yet. Calif was supposed to release them at 1PT after the update was pushed out. The corretto release notes say its in hotspot/compiler.

https://github.com/corretto/corretto-25/blob/25.0.5.1.2/CHAN...

yabones 35 minutes ago | parent

Some unverified sources have said it's in the Base64 decoder, but strangely only effecting AMD64 machines, so anything on ARM/graviton allegedly isn't impacted. Some sort of bug in some hyper-optimized code I reckon. That might mean any place that parses cookies, headers, urls, JWTs, SAML payloads, certificates, etc, might be exposed. Yikes.

But the facts aren't really out yet, we'll learn more in coming hours and days...

explain 32 minutes ago | parent

Here's the supposed patch (?): https://pbs.twimg.com/media/HXWyDZQXEAAPOVf?format=webp&name...

`grep -ow avx512vbmi /proc/cpuinfo | sort -u`

`-XX:-UseBASE64Intrinsics -XX:UseAVX=2`

AgentME 36 minutes ago | parent

Unconfirmed, but people on Twitter suggest this vulnerability has to do with the AVX512 implementation of Base64 decoding, and so this vulnerability can be worked around by running Java with the -XX:UseAVX=2 flag. (https://x.com/sean_a_cassidy/status/2122791344573976817)

elric 16 minutes ago | parent

There are presumably more bugs lurking in the hand crafted assembly intrinsics in the JVM. The many eyeballs and shallow bugs thing is only true when the eyeballs actually understand the code.

zenerdi0de 27 minutes ago | parent

ajasmin 18 minutes ago | parent

> Write once, RCE everywhere

lol

marginalia_nu 5 minutes ago | parent

It's only on specific architectures though it kinda falls apart. It would be impressive if the JVM let you RCE on sub-AVX512 machines and ARM and whatever too.

doctorpangloss 17 minutes ago | parent

is this the root cause of the issue befalling making giant companies right now? i think it's a java DOS for sure, but an RCE?

TZubiri 13 minutes ago | parent

Looks unrelated, this is being disclosed now but it was discovered a couple of weeks ago and is just now being made public at the same time.

Also I haven't looked into it, but I'm willing to be it's some free after-use memory corruption thing that has a CVSS Attack Complexity of high, the 'RCE' is speculative, and private companies push social media headlines to fit the AI cybersecurity narrative.

Not saying the doom isn't right, but sometimes it's more like a Wednesday than doomsday. Just patch it and move on. Thanks to all involved though in disclosing and patching though.

nacnud 7 minutes ago | parent

More info here: https://www.upwind.io/blog/java4shell-what-we-know-now-and-w...

It's a heap out-of-bounds write in Java’s AVX-512 Base64 decoder.

kaliszad 6 minutes ago | parent

Seems like -XX:-UseBASE64Intrinsics is the better workaround for now.