Under active development Content is continuously updated and improved

V-242450The Kubernetes Kubelet certificate authority must be owned by root.

CAT II - Medium
CNTR-K8-003170

>Control Description

The Kubernetes kube proxy kubeconfig contain the argument and setting for the Control Planes. These settings contain network rules for restricting network communication between pods, clusters, and networks. If these files can be changed, data traversing between the Kubernetes Control Panel components would be compromised. Many of the security settings within the document are implemented through this file.

>Check Content

On the Control Plane,

$ps -ef | grep kubelet

If 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 %U:%G <path_to_client_ca_file>

If the command returns any non root:root file permissions, this is a finding.

>Remediation

On the Control Plane,

$ps -ef | grep kubelet

Remove 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.

$chown root:root <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 List

Ask AI

Configure your API key to use AI features.