CNTR-K8-003230 - The Kubernetes kubelet config must have file permissions set to 644 or more restrictive.

Information

The Kubernetes kubelet agent registers nodes with the API server and performs health checks to containers within pods. If this file can be modified, the information system would be unaware of pod or container degradation.

Solution

Change the permissions of the config.yaml to '644' by executing the command:

chmod 644 /var/lib/kubelet/config.yaml

See Also

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

Item Details

Category: CONFIGURATION MANAGEMENT

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

Plugin: Unix

Control ID: 0f1fbed8756ca86e639e83c7c715084b42042317495838d9669a50ef7bb0e7a8