CNTR-K8-003200 - The Kubernetes kubelet KubeConfig file must be owned by root.

Information

The Kubernetes kubelet agent registers nodes with the API server and performs health checks to containers within pods. If these files can be modified, the information system would be unaware of pod or container degradation. Many of the security settings within the document are implemented through this file.

Solution

Change the ownership of the kubelet.conf to root: root by executing the command:

chown root:root /etc/kubernetes/kubelet.conf

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Kubernetes_V2R2_STIG.zip

Item Details

Category: CONFIGURATION MANAGEMENT

References: 800-53|CM-6b., CAT|II, CCI|CCI-000366, Rule-ID|SV-242453r961863_rule, STIG-ID|CNTR-K8-003200, Vuln-ID|V-242453

Plugin: Unix

Control ID: 6e443910639b01eba9e17ebb2854acbc1903b98b85c76b6726121151120a1556