Security policy allows all volume types Affecting Pod Security Policy service in Kubernetes


Severity

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

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-Controls
  • Snyk IDSNYK-CC-00641
  • creditSnyk Research Team

Description

The containers will be allowed to mount any type of volume. This can lead to information disclosure and privilege escalation.

How to fix?

Set value to specific volume types, or remove the attribute.