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 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-KubernetesCSA-CCM
  • Snyk IDSNYK-CC-00637
  • creditSnyk 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