UCF STIG Viewer Logo

The Kubernetes kubeadm must be owned by root.


Overview

Finding ID Version Rule ID IA Controls Severity
V-242454 CNTR-K8-003210 SV-242454r712718_rule Medium
Description
The Kubernetes kubeeadm.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-45729r712716_chk )
Review the Kubernetes kubeadm by using the command:

stat -c %U:%G /usr/bin/kubeadm| grep -v root:root

If the command returns any non root:root file permissions, this is a finding.
Fix Text (F-45687r712717_fix)
Change the ownership of the kubeadm to root: root by executing the command:

chown root:root /user/bin/kubeadm