The Kubernetes component PKI must be owned by root.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
---|---|---|---|---|---|---|
medium | V-242451 | SRG-APP-000516-CTR-001325 | CNTR-K8-003180 | SV-242451r961863_rule | 2025-02-20 | 2 |
Description |
---|
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. Many of the security settings within the document are implemented through this file. |
ℹ️ Check |
---|
Review the PKI files in Kubernetes by using the command: ls -laR /etc/kubernetes/pki/ If the command returns any non root:root file permissions, this is a finding. |
✔️ Fix |
---|
Change the ownership of the PKI to root: root by executing the command: chown -R root:root /etc/kubernetes/pki/ |