The Kubernetes kubeadm.conf must be owned by root.
An XCCDF Rule
Description
<VulnDiscussion>The Kubernetes kubeeadm.conf contains sensitive information regarding the cluster nodes configuration. If this file can be modified, the Kubernetes Platform Plane would be degraded or compromised for malicious intent. 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-242454r879887_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Change the ownership of the kubeadm.conf to root: root by executing the command:
chown root:root <kubeadm.conf path>