Container is running in host's network namespace Affecting Deployment service in Kubernetes


Severity

0.0
medium
0
10
    Severity Framework
    Snyk CCSS
    Rule category
    Containers / Access Control

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-00618
  • credit Snyk Research Team

Description

Containers will be able to access host's networking resources which breaks container security boundaries.

How to fix?

Remove hostNetwork attribute, or set value to false.

Terraform

References