Container is running with host path mount Affecting Container service in Kubernetes


Severity

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

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
  • Snyk ID SNYK-CC-00623
  • credit Snyk Research Team

Description

Access to a Docker host from the container can lead to container escape attacks and privilege escalation on the host.

How to fix?

Remove hostPath volume mount.

Terraform

References