1. Home
  2. Security Hardening
  3. DISA STIG Kubernetes V1R4
  4. CNTR-K8-000460 – Kubernetes DynamicKubeletConfig must not be enabled – kubelet

CNTR-K8-000460 – Kubernetes DynamicKubeletConfig must not be enabled – kubelet

Details

Kubernetes allows a user to configure kubelets with dynamic configurations. When dynamic configuration is used, the kubelet will watch for changes to the configuration file. When changes are made, the kubelet will automatically restart. Allowing this capability bypasses access restrictions and authorizations. Using this capability, an attacker can lower the security posture of the kubelet, which includes allowing the ability to run arbitrary commands in any container running on that node.

Solution

Edit any manifest file or kubelet config file that does not contain a feature-gates setting or has DynamicKubeletConfig set to ‘true’.

An omission of DynamicKubeletConfig within the feature-gates defaults to true. Set DynamicKubeletConfig to ‘false’. Restart the kubelet service if the kubelet config file is changed.

Supportive Information

The following resource is also helpful.

This security hardening control applies to the following category of controls within NIST 800-53: Access Control.This control applies to the following type of system Unix.

References

Source

Updated on July 16, 2022
Was this article helpful?

Related Articles