Information
Ensuring that --IPAddressDeny is set to 'Any' will facilitate allowlisting of only IP addresses that are explicitly set with the --IPAddressAllow parameter which will block unspecified IP addresses from communicating with the kubelet component.
By default, Kubernetes allows any IP address to communicate with the kubelet component IP restrictions and IP whitelisting are security best practices and reduce the attack surface of the kubelet .
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
IPAddressDeny=any
IPAddressAllow={{ kubelet_secure_addresses }}
*Note kubelet_secure_addresses: "localhost link-local {{ kube_pods_subnets | regex_replace(',', ' ') }} {{ kube_node_addresses }} {{ loadbalancer_apiserver.address | default('')"