Skip to main content

More Info:

Ensure that the /etc/kubernetes/manifests/etcd.yaml file has permissions of 644 or more restrictive.

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS Kubernetes

Triage and Remediation

Remediation

Manual Steps

  1. On every control plane node, check the current permissions of the etcd manifest file:
  2. If the permissions are more permissive than 644 (e.g., 664, 666, 777), restrict them:
  3. Confirm the new permissions are correctly set (this does not restart etcd; the static pod manifest is only read for pod config, not file mode):
  4. Re-run the benchmark audit command to verify compliance:
kubectl cannot modify file permissions on the control plane node, including /etc/kubernetes/manifests/etcd.yaml. To remediate this finding you must change the file mode directly on every control plane node (see the Manual Steps section).

Additional Reading: