The Kubernetes PKI keys must have file permissions set to 600 or more restrictive.
An XCCDF Rule
Description
<VulnDiscussion>The Kubernetes PKI directory contains all certificate key files supporting secure network communications in the Kubernetes Control Plane. If these files can be modified, data traversing within the architecture components would become unsecure and compromised.</VulnDiscussion><FalsePositives></FalsePositives><FalseNegatives></FalseNegatives><Documentable>false</Documentable><Mitigations></Mitigations><SeverityOverrideGuidance></SeverityOverrideGuidance><PotentialImpacts></PotentialImpacts><ThirdPartyTools></ThirdPartyTools><MitigationControl></MitigationControl><Responsibility></Responsibility><IAControls></IAControls>
- ID
- SV-242467r961863_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Change the ownership of the key files to "600" by executing the command:
find /etc/kubernetes/pki -name "*.key" | xargs chmod 600