mirror of
https://github.com/aquasecurity/kube-hunter.git
synced 2026-05-06 01:08:11 +00:00
851 B
851 B
vid, title, categories, severity
| vid | title | categories | severity | |
|---|---|---|---|---|
| KHV044 | Privileged Container |
|
high |
{{ page.vid }} - {{ page.title }}
Issue description
A privileged container is given access to all devices on the host and can work at the kernel level. It is declared using the Pod.spec.containers[].securityContext.privileged attribute. This may be useful for infrastructure containers that perform setup work on the host, but is a dangerous attack vector.
Remediation
Minimize the use of privileged containers.
Use Pod Security Policies to enforce using privileged: false policy.