Detect CVE-2022-0185 Vulnerability
getcap --print
Mitigate CVE-2022-0185
Ubuntu
sysctl -w kernel.unprivileged_userns_clone = 0
Red Hat
echo "user.max_user_namespaces = 0" >> /etc/sysctl.d/userns.conf
sysctl -p /etc/sysctl.d/userns.conf