CNTR-K8-003120 - The Kubernetes component etcd must be owned by etcd.

Information

The Kubernetes etcd key-value store provides a way to store data to the Control Plane. If these files can be changed, data to API object and the Control Plane would be compromised. The scheduler will implement the changes immediately. Many of the security settings within the document are implemented through this file.

Solution

Change the ownership of the manifest files to etcd:etcd by executing the command:

chown etcd:etcd /var/lib/etcd/*

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

Plugin: Unix

Control ID: 651328eb1191e166cf72d81624f15b1f7ecfaa54e5034c224a2f7e4ba44ec9cd