Skip to main content

More Info:

The kubelet configuration file should have permissions of 644 or more restrictive. Overly permissive permissions could allow unauthorized modification of the kubelet configuration.

Risk Level

Medium

Address

Security

Compliance Standards

  • CIS OKE

Triage and Remediation

Remediation

Manual Steps

  1. On every worker node, check the current permissions of the kubelet configuration file:
  2. On every worker node, set the permissions to 644 as required:
  3. (If desired) Confirm ownership is appropriate (typically root:root); adjust if needed:
  4. Verify the fix on every worker node using the audit command:
    Ensure the output shows permissions=644 (or a more restrictive value such as 640 or 600).
kubectl cannot modify host-level file permissions such as /etc/kubernetes/kubelet-config.json on worker nodes. To remediate this finding, you must change the file mode directly on every worker node’s filesystem; see the Manual Steps section for the exact commands.