Information
Do not generally permit containers which require the use of unmasked proc mounts
By default containers mask parts of the /proc filesystem which are mounted into the running container, to reduce the risk of container breakout. Kubernetes provides an option for proc to be mounted inside the container without masking to support specific use cases.
NOTE: Nessus has not performed this check. Please review the benchmark to ensure target compliance.
Solution
Add policies to each namespace in the cluster which has user workloads to restrict the admission of containers which have unmasked procMount sections.
Impact:
Pods defined with unmasked procMount settings in either the container, initContainer or ephemeralContainer sections will not be permitted.