The Kubernetes kubelet config must have file permissions set to 644 or more restrictive.
An XCCDF Rule
Description
<VulnDiscussion>The Kubernetes kubelet agent registers nodes with the API server and performs health checks to containers within pods. If this file can be modified, the information system would be unaware of pod or container degradation.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-242456r961863_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Change the permissions of the config.yaml to "644" by executing the command:
chmod 644 /var/lib/kubelet/config.yaml