MEDIUM 6.5 PyPI

vantage6 has insecure SSH configuration for node and server containers

GHSA-2wgc-48g2-cj5w · CVE-2024-21653 · PYSEC-2024-33 · PYSEC-2024-34 · PYSEC-2026-2003

Published · Modified

AI SAST

Find this class of vulnerability in your own code

Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.

Description

Impact

Nodes and servers get a ssh config by default that permits root login with password authentication. In a proper deployment, the SSH service is not exposed so there is no risk, but not all deployments are ideal. The default should therefore be less permissive.

We will probably opt to completely remove the ssh option as it is only used for debugging. Later, we can add a debug mode where we can activate it if necessary.

Workarounds

Remove the ssh part from the docker file and build your own docker image

Ready to move

Start Securing

Free, no credit card | First findings in minutes