CNTR-K8-003340 - The Kubernetes PKI keys must have file permissions set to 600 or more restrictive.

Information

The Kubernetes PKI directory contains all certificate key files supporting secure network communications in the Kubernetes Control Plane. If these files can be modified, data traversing within the architecture components would become unsecure and compromised.

Solution

Change the ownership of the key files to '600' by executing the command:

find /etc/kubernetes/pki -name '*.key' | xargs chmod 600

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

Plugin: Unix

Control ID: 03c7f61d05ea43b378b7c95ff42edbcea659494764fa0f4f5c2956b375b2ec57