Container is running with writable root filesystem Affecting Pod service in Kubernetes


Severity

low

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-8
  • creditSnyk Research Team

Description

Compromised process could abuse writable root filesystem to elevate privileges

How to fix?

Set spec.{containers, initContainers}.securityContext.readOnlyRootFilesystem to true