Container is running with multiple open ports Affecting Container service in Kubernetes


Severity

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

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

Description

Containers with more than 2 listening ports will increase the attack surface of the application and the container.

How to fix?

Reduce ports count to 2.