More Info:
The kubelet configuration file should have permissions of 644 or more restrictive to prevent unauthorized users from reading or tampering with the kubelets runtime configuration.Risk Level
MediumAddress
SecurityCompliance Standards
- CIS EKS
Triage and Remediation
- Remediation
Remediation
Manual Steps
Manual Steps
-
On every worker node, check the current permissions of the kubelet configuration file:
-
On every worker node, set the file permissions to 644 as required:
-
(Optional, if you want to enforce ownership as well) On every worker node, ensure root owns the file:
-
On every worker node, verify the permissions are now compliant:
Confirm the output shows:
Using kubectl
Using kubectl
kubectl cannot change file permissions on kubelet config files such as
/var/lib/kubelet/config.yaml, because this is host-level configuration on each worker node. To remediate this finding, you must adjust the file permissions directly on every worker node; see the Manual Steps section for the exact commands.Automation
Automation

