Container is running without root user control Affecting Deployment service in Kubernetes


0.0
medium
    Severity Framework Snyk CCSS
    Rule category Containers / Best Practices

Is your enviroment 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-Controls
  • Snyk ID SNYK-CC-00614
  • credit Snyk Research Team

Description

Container could be running with full administrative privileges.

How to fix?

Set securityContext.runAsNonRoot to true.

Terraform