Container is running with Docker socket mount Affecting Deployment service in Kubernetes


Severity

0.0
high
0
10
Severity Framework
Snyk CCSS
Rule category
Containers/ Volumes

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

Description

When a container has access to the docker socket mount, it can control the docker daemon which might lead to privilege escalation.

How to fix?

Remove /var/run/docker.sock hostPath volume.