V-242449—The Kubernetes Kubelet certificate authority file must have file permissions set to 644 or more restrictive.
CAT II - Medium
CNTR-K8-003160
>Control Description
The Kubernetes kubelet certificate authority file contains settings for the Kubernetes Node TLS certificate authority. Any request presenting a client certificate signed by one of the authorities in the client-ca-file is authenticated with an identity corresponding to the CommonName of the client certificate. If this file can be changed, the Kubernetes architecture could be compromised. The scheduler will implement the changes immediately. Many of the security settings within the document are implemented through this file.
>Check Content
On the Control Plane,
$ps -ef | grep kubeletIf the "--client-ca-file" option exists, this is a finding. Note the path to the config file (identified by --config).
$grep -i clientCAFile <path_to_config_file>Note the path to the client ca file.
$stat -c %a <path_to_client_ca_file>If the client ca file has permissions more permissive than "644", this is a finding.
>Remediation
On the Control Plane,
$ps -ef | grep kubeletRemove the "--client-ca-file" option. Note the path to the config file (identified by --config).
$grep -i clientCAFile <path_to_config_file>Note the path to the client ca file.
$chmod 644 <path_to_client_ca_file>>CCI References
Control Correlation Identifiers (CCIs) map STIG findings to NIST 800-53 controls.
>Cross-Framework Mappings
NIST SP 800-53 r5
via DISA CCI ListAsk AI
Configure your API key to use AI features.