Check: CNTR-K8-003180
Kubernetes STIG:
CNTR-K8-003180
(in versions v1 r11 through v1 r0.1)
Title
The Kubernetes component PKI must be owned by root. (Cat II impact)
Discussion
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 Content
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 Text
Change the ownership of the PKI to root: root by executing the command: chown -R root:root /etc/kubernetes/pki/
Additional Identifiers
Rule ID: SV-242451r879887_rule
Vulnerability ID: V-242451
Group Title: SRG-APP-000516-CTR-001325
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
The organization implements the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |