The Kubernetes Kubelet certificate authority must be owned by root.
An XCCDF Rule
Description
<VulnDiscussion>The Kubernetes kube proxy kubeconfig contain the argument and setting for the Control Planes. These settings contain network rules for restricting network communication between pods, clusters, and networks. If these files can be changed, data traversing between the Kubernetes Control Panel components would be compromised. Many of the security settings within the document are implemented through this file.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-242450r918196_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
On the Control Plane, run the command:
ps -ef | grep kubelet
Remove the "client-ca-file" option.
Note the path to the config file (identified by --config).