UCF STIG Viewer Logo
Changes are coming to https://stigviewer.com. Take our survey to help us understand your usage and how we can better serve you in the future.
Take Survey

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


Overview

Finding ID Version Rule ID IA Controls Severity
V-242452 CNTR-K8-003190 SV-242452r821616_rule Medium
Description
The Kubernetes kubelet agent registers nodes with the API Server, mounts volume storage for pods, and performs health checks to containers within pods. If these files can be modified, the information system would be unaware of pod or container degradation. Many of the security settings within the document are implemented through this file.
STIG Date
Kubernetes Security Technical Implementation Guide 2022-09-13

Details

Check Text ( C-45727r712710_chk )
Review the permissions of the Kubernetes Kubelet conf by using the command:

stat -c %a /etc/kubernetes/kubelet.conf

If any of the files are have permissions more permissive than "644", this is a finding.
Fix Text (F-45685r821615_fix)
Change the permissions of the Kubelet to "644" by executing the command:

chmod 644 /etc/kubernetes/kubelet.conf