Why it matters
NET_RAW lets a process craft raw packets, which is how ARP and DNS spoofing inside a cluster network begin. Container runtimes grant it by default.
How to fix it
Drop NET_RAW, or drop ALL capabilities.
What TrustIvan reads
Read through the Kubernetes API with the read-only role TrustIvan's install creates.
Benchmark controls
- CIS Kubernetes Benchmark 1.9.0, control
5.2.8: Containers with NET_RAW are minimised
Control numbers are the published ones; the titles are TrustIvan's own short descriptions. The benchmarks belong to their publishers, who do not endorse TrustIvan.
Related checks
- Container runs a mutable image tag
KubernetesSeverity: Low
k8s.container.mutable-tag - Container has no CPU limit
KubernetesSeverity: Low
k8s.container.no-cpu-limit - Container runs `latest` or an untagged image
KubernetesSeverity: Medium
k8s.container.image-latest - Container has no CPU request
KubernetesSeverity: Low
k8s.container.no-cpu-request - Container binds a host port
KubernetesSeverity: Medium
k8s.container.host-port - Container has no memory limit
KubernetesSeverity: Low
k8s.container.no-memory-limit
Terms: KSPM (Kubernetes security posture management), Kubernetes RBAC, NSA/CISA Kubernetes Hardening Guidance, CIS Benchmarks
All Kubernetes posture checks · The whole catalogue · How this works in TrustIvan · Documentation