CNTR-K8-003180 - The Kubernetes component PKI must be owned by root.

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. Many of the security settings within the document are implemented through this file.

Solution

Change the ownership of the PKI to root: root by executing the command:

chown -R root:root /etc/kubernetes/pki/

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

Plugin: Unix

Control ID: 02a0f5eb7be9033b99ea2c4f4125642a922a58569b4ccc4c811e2fd2e4fa17a4