CNTR-K8-003330 - The Kubernetes PKI CRT must have file permissions set to 644 or more restrictive.

Information

The Kubernetes PKI directory contains all certificates (.crt 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 cert files to '644' by executing the command:

find /etc/kubernetes/pki -name '*.crt' | xargs chmod 644

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

Plugin: Unix

Control ID: 718d4c2a5300998855041c6bec6af42f262fd88f74c6356e6bf97f106a506afb