Container or Pod is running without root user control Affecting Deployment 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-ControlsCSA-CCM
  • Snyk IDSNYK-CC-K8S-10
  • creditSnyk Research Team

Description

Container or Pod could be running with full administrative privileges

How to fix?

Set securityContext.runAsNonRoot to true