CNTR-K8-003220 - The Kubernetes kubeadm.conf must have file permissions set to 644 or more restrictive.

Information

The Kubernetes kubeadm.conf contains sensitive information regarding the cluster nodes configuration. If this file can be modified, the Kubernetes Platform Plane would be degraded or compromised for malicious intent. Many of the security settings within the document are implemented through this file.

Solution

Change the permissions of kubeadm.conf to '644' by executing the command:

chmod 644 <kubeadm.conf path>

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-242455r961863_rule, STIG-ID|CNTR-K8-003220, Vuln-ID|V-242455

Plugin: Unix

Control ID: cdad410f4d4fc88db90e6bcdd1b9ebbea70e98773ff874f103f2bef82c8778bb