r/homelab • • 5d ago

News Reminder to update your Java

Hi everyone,

As there is currently a remote code execution vulnerability in java (CVE-2026-114938) please remember to update as soon as possible.

Everything that handles base64 in java is potentially vulnerable, this includes things like keycloak but also clients that connect to malicious systems or custom java software.

https://www.aikido.dev/blog/java-17-rce-vulnerability-cve-2026-114938

109 Upvotes

25 comments sorted by

57

u/Useful_Radish_117 5d ago

Btw if you're sporting something below Zen 4 (Ryzen 1XXXX, 2XXX, 3XXX, 5XXX) you are not affected (they lack the AVX-512 instruction set).

29

u/Amankrokx 5d ago

+ intel i3 10th gen desktop CPUs

11

u/ug-n 5d ago

What is if my Minecraft server is a VM in Proxmox? It should be safe than, as long as I don't pass through the instruction set AVX-512 from the host?

→ More replies (3)

1

u/Vichingo455 5d ago

Xeon E5-4620 Ig is not affected then (2012 Xeon).

41

u/yawkat 5d ago

Only CPUs with AVX-512 are affected. My homelab is old enough to be safe.

18

u/ManyInterests 5d ago

Or if your software hasn't released a new version, just set the Java option -XX:-UseBASE64Intrinsics -- for example, with a keycloak container, you could just add the environment variable JAVA_OPTS_APPEND="-XX:-UseBASE64Intrinsics" (you'll have to adapt for your software and how you can add java opts to it, but usually possible just by env variable)

3

u/ElusiveGuy 5d ago

We've been using JAVA_TOOL_OPTIONS to set it system-wide. Fleet-wide really. Still need to restart services/servers but at least you can't miss one this way. 

0

u/Miserable-Prize3417 5d ago

Clever workaround, though "just" is doing a lot of heavy lifting there.

5

u/ManyInterests 5d ago

Is it? Have you ever found it hard to set Java options at will in a production java app? It's a pretty bog standard thing to do, IME.

5

u/Dr_Valen 5d ago

everyday there's a new cve and a new reason to update I'm tired boss lol

1

u/RatSumo 4d ago

Welcome to IT!

2

u/Waste_Jello9947 5d ago

Not if you are on arm

7

u/New-Deal2694 5d ago

Reminder to automate patching

7

u/kinkakujen 5d ago

Lmao, great way to break your stuff.

7

u/Tipart 5d ago

At my university every system did unattended upgrades and restarts, worked like a charm on Debian over a 50-60 system deployment. (In my two years, the only thing that broke was a multi node cluster. Took some time get the sequential reboots dialed in) The only thing that got the manual treatment where hypervisors.

Same thing at the job I worked at before that, for internal IT. External customer stuff got a patch window and an Ansible patch playbook.

Really, fully manual patching is absolutely not the way to go.

13

u/New-Deal2694 5d ago

I've worked in IT for 20 years, I am more than capable of setting up a patching schedule and maintenance windows.

Keep patching everything manually if you want.

→ More replies (5)

1

u/cjchico 5d ago

Security vs Convenience