Container runs with AllowPrivilegeEscalation
ID |
allow_privilege_escalation |
Severity |
low |
Vendor |
Kubernetes |
Resource |
General Security |
Tags |
reachable |
Description
The AllowPrivilegeEscalation Pod Security Policy controls whether a user is allowed to set the security context of a container. Setting it to False ensures that no child process of a container can gain more privileges than its parent.
We recommend you to set AllowPrivilegeEscalation to False to prevent existing permission sets from being bypassed.
Learn more about this topic at Set security context for a Container.