Kubernetes Controller Manager must disable profiling.
Severity | Group ID | Group Title | Version | Rule ID | Date | STIG Version |
|---|---|---|---|---|---|---|
| medium | V-242409 | SRG-APP-000141-CTR-000315 | CNTR-K8-000910 | SV-242409r960963_rule | 2025-05-16 | 2 |
| Description |
|---|
| Kubernetes profiling provides the ability to analyze and troubleshoot Controller Manager events over a web interface on a host port. Enabling this service can expose details about the Kubernetes architecture. This service must not be enabled unless deemed necessary. |
| ℹ️ Check |
|---|
| Change to the /etc/kubernetes/manifests/ directory on the Kubernetes Control Plane. Run the command: grep -i profiling * If the setting "profiling" is not configured in the Kubernetes Controller Manager manifest file or it is set to "True", this is a finding. |
| ✔️ Fix |
|---|
| Edit the Kubernetes Controller Manager manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. Set the argument "--profiling value" to "false". |