Why it matters
`procMount: Unmasked` exposes the parts of /proc the runtime hides, which leak host information and enable escapes.
How to fix it
Remove `procMount`, or set it to `Default`.
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.7.3: A security context is applied to pods and containers. Also checked for this control: Container explicitly disables AppArmor, Container sets a custom SELinux user, role or type, Container root filesystem is writable, Workload sets an unsafe sysctl - NSA/CISA Kubernetes Hardening Guidance 1.2, control
pod.security-enforcement: Pod security is enforced. Also checked for this control: Container keeps the default capabilities, Container adds a dangerous capability, Container may escalate privileges, Container runs privileged, Container runs as a Windows HostProcess, Namespace enforces no Pod Security Standard, Namespace enforces only Pod Security baseline, Workload shares the host IPC namespace, Workload shares the host network, Workload mounts a host path, Workload shares the host process namespace, Workload mounts the container runtime socket
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 sets a custom SELinux user, role or type
KubernetesSeverity: Medium
k8s.container.selinux-custom - Container image comes from an untrusted registry
KubernetesSeverity: Medium
k8s.container.untrusted-registry - Container reads a Secret through environment variables
KubernetesSeverity: Low
k8s.container.secret-in-env - Container runs as a Windows HostProcess
KubernetesSeverity: High
k8s.container.windows-host-process - Container has no seccomp profile
KubernetesSeverity: Low
k8s.container.seccomp-unset - Container root filesystem is writable
KubernetesSeverity: Low
k8s.container.writable-root-filesystem
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