The Kubernetes PKI CRT must have file permissions set to 644 or more restrictive.
An XCCDF Rule
Description
<VulnDiscussion>The Kubernetes PKI directory contains all certificates (.crt 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-242466r961863_rule
- Severity
- Medium
- References
- Updated
Remediation - Manual Procedure
Change the ownership of the cert files to "644" by executing the command:
find /etc/kubernetes/pki -name "*.crt" | xargs chmod 644