Finding ID | Version | Rule ID | IA Controls | Severity |
---|---|---|---|---|
V-242467 | CNTR-K8-003340 | SV-242467r712757_rule | Medium |
Description |
---|
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. |
STIG | Date |
---|---|
Kubernetes Security Technical Implementation Guide | 2021-06-17 |
Check Text ( C-45742r712755_chk ) |
---|
Review the permissions of the Kubernetes PKI key files by using the command: find /etc/kubernetes/pki -name "*.key" | xargs stat -c '%n %a' If any of the files are have permissions more permissive than "600", this is a finding. |
Fix Text (F-45700r712756_fix) |
---|
Change the ownership of the cert files to "600" by executing the command: chmod -R 600 /etc/kubernetes/pki/*.key |