List CPU vulnerabilities

Jul 31, 2020 16:25 · 30 words · 1 minute read security oneliner

Oneliner to list your CPU vulnerabilities and mitigations. Read more about the different vulnerabilities and mitigations at Hardware vulnerabilities.

grep -E '.*' /sys/devices/system/cpu/vulnerabilities/* | \
    sed -E 's/(^.*\/)([^:]*):(.*$)/\2 -=> \3/'