CNTR-K8-000880 - The Kubernetes KubeletConfiguration file must be owned by root.


The kubelet configuration file contains the runtime configuration of the kubelet service. If an attacker can gain access to this file, changes can be made to open vulnerabilities and bypass user authorizations inherent within Kubernetes with RBAC implemented.


On the Control Plane and Worker nodes, change to the --config directory. Run the command:
chown root:root kubelet

To verify the change took place, run the command:
ls -l kubelet

The kubelet file should now be owned by root:root.

See Also

Item Details


References: 800-53|CM-5(6), CAT|II, CCI|CCI-001499, Rule-ID|SV-242406r918168_rule, STIG-ID|CNTR-K8-000880, Vuln-ID|V-242406

Plugin: Unix

Control ID: 10e5908cdc71f3233b2fa846b192e4e27ebad0399abef91f98fb4423972d50e7