Container is running without privilege escalation control Affecting Pod service in Kubernetes


Severity

medium

Is your environment affected by this misconfiguration?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
Frameworks
CIS-ControlsCIS-Kubernetes-FoundationsCSA-CCM
  • Snyk IDSNYK-CC-K8S-9
  • creditSnyk Research Team

Description

Processes could elevate current privileges via known vectors, for example SUID binaries

How to fix?

Set spec.{containers, initContainers}.securityContext.allowPrivilegeEscalation to false