Policy does not restrict default capabilities Affecting Pod Security Policy service in Kubernetes


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    Containers / Capabilities

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 CIS-Kubernetes CSA-CCM
  • Snyk ID SNYK-CC-00637
  • credit Snyk Research Team

Description

Default insecure capabilities are not restricted. Pods will be allowed to run with too many permissions, including RAW network resource access.

How to fix?

Add ALL or NET_RAW to requiredDropCapabilities attribute.

References