Check ID:
Provider: Kubernetes
Service:
Severity: HIGH
Categories:
Resource type:
core_minimize_hostNetwork_containersProvider: Kubernetes
Service:
coreSeverity: HIGH
Categories:
container-security, trust-boundariesResource type:
PodWhat this check verifies
Kubernetes Pods configured withhostNetwork: true are identified, meaning they share the node’s network namespace and use the host’s IP stack, interfaces, and ports.
Risk
Using the host network namespace exposes node-local interfaces and traffic to the pod. A compromise can enable packet capture and request spoofing (C/I), access to node services (e.g., kubelet), and port binding conflicts, causing outages (A) and enabling lateral movement across the cluster.Recommendation
DisallowhostNetwork by default. Enforce least privilege with admission policies that block it, allowing narrowly scoped exceptions only for trusted system workloads. Prefer standard pod networking with NetworkPolicies, and isolate node services for defense in depth.
Remediation
- Terraform
- Dashboard steps
References
Where this check fires
This check runs on every scheduled scan against your Kubernetes account. Findings appear at Cloud Security → Findings filterable byCheck ID = core_minimize_hostNetwork_containers. To re-evaluate after a fix, hit Run now on the account’s schedule under Cloud Security → Schedules — the next scan re-checks this control and marks the finding fixed or keeps it persistent.
← Back to Kubernetes checks