CNTR-K8-000300 - The Kubernetes Scheduler must have secure binding.

Warning! Audit Deprecated

This audit has been deprecated and will be removed in a future update.

View Next Audit Version

Information

Limiting the number of attack vectors and implementing authentication and encryption on the endpoints available to external sources is paramount when securing the overall Kubernetes cluster. The Scheduler API service exposes port 10251/TCP by default for health and metrics information use. This port does not encrypt or authenticate connections. If this port is exposed externally, an attacker can use this port to attack the entire Kubernetes cluster. By setting the bind address to localhost (i.e., 127.0.0.1), only those internal services that require health and metrics information can access the Scheduler API.

Solution

Edit the Kubernetes Scheduler manifest file in the /etc/kubernetes/manifests directory on the Kubernetes Control Plane. Set the argument '--bind-address' to '127.0.0.1'.

See Also

https://dl.dod.cyber.mil/wp-content/uploads/stigs/zip/U_Kubernetes_V1R10_STIG.zip

Item Details

References: CAT|II, CCI|CCI-000213, Rule-ID|SV-242384r879530_rule, STIG-ID|CNTR-K8-000300, Vuln-ID|V-242384

Plugin: Unix

Control ID: 4833d3772e42399a56e2264914c8e9097c9b34ce7a0d1828314a19f741d7b3ec