UCF STIG Viewer Logo

The Kubernetes kubelet service must have file permissions set to 644 or more restrictive.


Overview

Finding ID Version Rule ID IA Controls Severity
V-242455 CNTR-K8-003220 SV-242455r712721_rule Medium
Description
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.
STIG Date
Kubernetes Security Technical Implementation Guide 2021-04-14

Details

Check Text ( C-45730r712719_chk )
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 (F-45688r712720_fix)
Change the permissions of Kubeadm to "644" by executing the command:

chown 644 /usr/bin/kubeadm