Check: CNTR-K8-003220
Kubernetes STIG:
CNTR-K8-003220
(in version v1 r1)
Title
The Kubernetes kubelet service must have file permissions set to 644 or more restrictive. (Cat II impact)
Discussion
The Kubernetes kubeadm.conf contains sensitive information regarding the cluster nodes configuration. If this file can be modified, the Kubernetes Platform Plane would be degraded or compromised for malicious intent. Many of the security settings within the document are implemented through this file.
Check Content
Review the permissions of the Kubernetes kubelet by using the command: stat -c %a /usr/bin/kubeadm If any of the files have permissions more permissive than "644", this is a finding.
Fix Text
Change the permissions of Kubeadm to "644" by executing the command: chown 644 /usr/bin/kubeadm
Additional Identifiers
Rule ID: SV-242455r712721_rule
Vulnerability ID: V-242455
Group Title: SRG-APP-000516-CTR-001325
Expert Comments
CCIs
Number | Definition |
---|---|
CCI-000366 |
Implement the security configuration settings. |
Controls
Number | Title |
---|---|
CM-6 |
Configuration Settings |