Container is running with Docker socket mount Affecting Deployment service in Kubernetes
Severity Framework
Snyk CCSS
Rule category
Containers / Volumes
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 applicationsFrameworks
CIS-Controls
- Snyk ID SNYK-CC-00606
- credit Snyk 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.