enoqlooking at the latest java4shell vulnerability, there are no eclipse temurin docker images available yet, correct?
enoqwhat version does 25.0.5_8 correspond to?
enoqI suppose 25.0.5+8 which is not 25.0.5.1
jbosmansit's pretty fresh so i think the images and temurin itself still needs to be updated. For vuln systems I'd look into the mitigations to switch from avx512 to avx2 support
ParaAdd -XX:-UseBASE64Intrinsics to your JVM opts by whatever mechanism works for your case, redeploy, onwards to next CVE.
ParaSpecifically this requires the AVX-512 VBMI instruction which is quite rare in reality, rough estimate is that only about 15-20% of CPUs out there even have it, and it's entirely possible cloud service providers haven't enabled it in hypervisor settings anyway, so the attack surface to mitigate is very confusing.
[twisti]'quite rare' ... '20%'
[twisti]well i certainly relaxed, probably wont even bother to look into it
ParaThat 20% includes AMD Zen4 and Zen5 processors, which are mostly home user CPUs.
* Drixtan joined #java
enoqthank you
sonOfRaI've switched a bunch of systems to - XX:UseAVX=2 instead of wholly disabling intrinsics. With java -XX:+PrintFlagsFinal -version, you can quickly find out if the system you're on supports avx512- there will be a UseAVX value of 3 in the output somewhere. If it says 2, or nothing at all, at least that particular jvm on your system is unaffected
enoqsonOfRa: so you expect there to be more avx issues?
sonOfRaNo, it's a tradroff. My workload in this case is keycloak and due to the whole jwt deal it does a lot of base64 - so disabling base64 acceleration probably loses me more than falling back to avx2 for everything
sonOfRaI'll see in my cpu metrics after a day or two. Performance might even improve, because avx512 is not always actually a speedup due to silly cpu architecture reasons
deeboyeah was just about to ask what minor version does temurins 25.0.5+8 correspond to, is it still vulnerable?
nevetETA for Temurin 25 and 21 releases fixing CVE-2026-114938 (Base64 intrinsic memory corruption, "Java4Shell") · Issue #1575 · adoptium/adoptium-support
sonOfRaenoq: first 2 hours of production workload show no statistically significant performance deviation from our 30 day mean after setting useavx=2
sonOfRaYMMV
ParaIt's also somewhat framework dependent if you even hit the native base64 path. Run something old/backwards compatible enough and it uses e.g. Commons Codec instead.
* Bhyve quit (Quit: WeeChat 4.10.4)
* pebble|2 joined #java
* pebble quit (Ping timeout: 246 seconds)
* Candle quit (Ping timeout: 247 seconds)
* Candle joined #java
* michele quit (Quit: Leaving)
deeboalso requires 4 cpu features to be available, those are reserved for slop agents, not to run real software!
* Bhyve joined #java
enoqhad a look at some claude generated java code recently btw
enoqloads of while and for loops with break and continue statements
enoqrefactoring took as long as implementing the feature from scratch
* GreenResponse joined #java
dreamrealenoq: that sounds like whoever was driving did a poor job
deeboyeah needs more handholding for style, or a checker tool that says no
deeboshould finally setup spotless and some static analyzer
deebosonarqube was a lifesaver until they decided they wont support java>8 in the "free" version
* EthanHunt joined #java
* jink quit (Quit: reboot, brb)
* hwpplayer1 joined #java
* wontzer joined #java
* jink joined #java
* Soulcatcher joined #java
* ztevoz joined #java
* MikeBux joined #java
* fstd quit (Ping timeout: 253 seconds)
* fstd joined #java
* ramontjunior1 joined #java
* ramontjunior quit (Ping timeout: 259 seconds)
* ramontjunior1 is now known as ramontjunior
* Nixkernal quit (Remote host closed the connection)
* Nixkernal joined #java
* Nixkernal quit (Remote host closed the connection)
* Nixkernal joined #java
* mwnaylor left #java (ERC 5.6.2.31.1 (IRC client for GNU Emacs 31.1.50))
* pebble|2 quit (Read error: Connection reset by peer)
* Nixkernal quit (Remote host closed the connection)
* fgarcia quit (Read error: Connection reset by peer)
* fgarcia joined #java
* Nixkernal joined #java
* Bhyve quit (Quit: WeeChat 4.10.4)
* nevet joined #java
* CodeGeek!~codegeek@about/java/CodeGeek changed the topic to: Welcome! || Read Channel Rules at https://javachannel.org/ before participating. || Paste limit is two lines; ~pastebin lists options. || No applets, please. || Minecraft, Android, and Javascript all have their own channel. || You are being logged.
* raj joined #java
* EthanHunt quit (Quit: Connection closed for inactivity)
* Candle quit (Ping timeout: 259 seconds)
* Candle joined #java
* iwtga578 joined #java
* iwtga578 is now known as iwtga57
* enoq quit (Ping timeout: 247 seconds)
* raj quit
* m joined #java
* Zapek quit (Quit: bye)
* Zapek joined #java
* Bhyve joined #java
* johnjay quit (Ping timeout: 256 seconds)
* johnjay joined #java
* stfstfm_ joined #java
* stfstfm quit (Ping timeout: 259 seconds)
* Drixtan left #java
cheeserdeebo: spotless is great. i have it autowired in to my build cycles.
* michele joined #java
* michele quit (Read error: Connection reset by peer)
* stfstfm joined #java
* michele joined #java
dreamrealI do too
dreamrealcheeser: what happened to javabot? Should I unmute nevet?
* stfstfm_ quit (Ping timeout: 263 seconds)
sonOfRapmd+spotless as a pre-commit hook works wonders to rein in claude
* sonOfRa quit (Quit: K-Lined)
* sonOfRa joined #java
Optici just checked all our physical servers against the cpu capabilities required for java4shell, and we don't own a single one with avx512 :P
Opticwe have a couple with bmi2
* magla joined #java
Opticsometimes shit old hardware is a win??
dreamrealall of our deployed servers are technically vulnerable but don't expose endpoints that would provide easy ingress. So naturally we're sure we're invulnerable! *sigh* (We're deploying with the flag even so. "invulnerable" is a descriptor that only means "we don't know the ingress yet.")
Optici'm going to wait for the November patch cycle to release and calmly deploy that everywhere
* fdp quit (Read error: Connection reset by peer)
dreamrealWe just deployed new images with the flags in place
* fdp joined #java
dreamrealcoretto images are already patched but they're 120+ MB larger than temurin and we don't rely on the base64 decoding enough for it to impact us negatively
Opticall our stuff is in spring-boot containers, so when liberica pubs the new versions it will just be a CI trigger + deploy to update
ParaJust in time for the next CVE, nested KVMs.
* wontzer left #java
Zapekwhere did oracle hide the graalvm with the base64 fix...
* hwpplayer1 quit (Quit: I'll be back later Take care)
* whaley quit (Quit: ron)
* moon-watcher joined #java
* moon-watcher quit (Quit: leaving)
* stfstfm_ quit (Read error: Connection reset by peer)
* stfstfm joined #java
nimajedeebo: but at least some java8 versions are vulnerable, oracle says oracle java se 8u511b33-perf is vulnerable. No idea if any other as well, or why they just call out that specific version, is that just their currently supported java8 version? Does anyone else still support some java8 version?
* MikeBux quit (Quit: Never look down on someone unless you're helping them up.)
* Soulcatcher quit (Quit: WeeChat 4.1.1)
* tronexte quit (Ping timeout: 248 seconds)
* fgarcia quit (Ping timeout: 255 seconds)
* wontzer quit (Ping timeout: 251 seconds)
* fgarcia joined #java
* wontzer joined #java
* fgarcia quit (Max SendQ exceeded)
* fgarcia joined #java
* stfstfm quit (Ping timeout: 268 seconds)
cheeserdreamreal: i didn't see anything about that.
dreamreal*nod* I started it and waiting for a few minutes and it never showed up here, didn't do any triage
* Candle quit (Ping timeout: 266 seconds)
* Candle joined #java
* tronexte joined #java
* tronexte quit (Ping timeout: 264 seconds)
* Ragnor quit (Ping timeout: 252 seconds)
* Ragnor joined #java
* tronexte joined #java
* tronexte quit (Remote host closed the connection)
* GreenResponse quit (Quit: Leaving)
sbalmosdreamreal: maybe it's like Python where if you're missing something, it just silently does nothing on startup. :D
* five618480339176 joined #java
* xeno joined #java
* tronexte joined #java
* tronexte quit (Ping timeout: 277 seconds)
* tronexte joined #java
* tronexte quit (Ping timeout: 264 seconds)
* ilux quit (Ping timeout: 251 seconds)
* ilux joined #java
* tronexte joined #java
* kmh quit (Quit: Leaving)
* tronexte quit (Ping timeout: 246 seconds)
* monkeyPlus joined #java
* monkeyPlus quit (Remote host closed the connection)
* kmh joined #java
* BarnabasDK quit (Ping timeout: 273 seconds)
* BarnabasDK joined #java
* Exa quit (Ping timeout: 264 seconds)
* Exa joined #java
* cation quit (Remote host closed the connection)
* cation joined #java
* tronexte joined #java
* michele quit (Read error: Connection reset by peer)
* michele joined #java
* MrHAPPY joined #java
* JazzJackalope quit (Ping timeout: 265 seconds)
* Square quit (Ping timeout: 247 seconds)
* Square joined #java
* Square quit (Read error: Connection reset by peer)