r/sysadmin • • 4d ago

Question Java4Shell Question regarding to VMware VMs

Sanity check me here. On Linux VMware virtual machines, the following command is not returning any of the AVX512 flags, which is good, am I missing something? Am I correct in thinking that none of my Linux virtual machines that have Java are vulnerable to Java4Shell if this command comes back blank?

grep -m1 '^flags' /proc/cpuinfo | tr ' ' '\n' | grep -E '^(avx512f|avx512bw|avx512vbmi|bmi2)$'

0 Upvotes

7 comments sorted by

View all comments

4

u/justlikeyouimagined Everything Admin 4d ago

What is your VM virtual hardware version?

AFAIK the AVX-512 VBNI instruction is not exposed to the guest below v17

3

u/SnooDoughnuts2426 4d ago

Versions 7 - 13

3

u/justlikeyouimagined Everything Admin 4d ago

Right, so even if your CPUs had the instruction, the VMs would not see it and therefore still be safe.