CVE-2024-21653: vantage6 insecure SSH configuration for node and server containers
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
Other sources
The vantage6 technology enables to manage and deploy privacy enhancing technologies like Federated Learning (FL) and Multi-Party Computation (MPC). 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. The vulnerability can be mitigated by removing the ssh part from the docker file and rebuilding the docker image. Version 4.2.0 patches the vulnerability.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
pip/vantage6to a version that resolves this vulnerability.Fixed in 4.2.0 - Upgrade
Upgrade
vantage6to a version that resolves this vulnerability.Fixed in 4.2.0 - Remove
Remove
SSH option in node and server containersfrom your environment.Remove the SSH part from the Dockerfile and rebuild your own Docker image to mitigate the insecure SSH configuration (root login with password authentication by default).
Event History
Frequently Asked Questions
What is the severity of CVE-2024-21653?
CVE-2024-21653 is considered a moderate severity vulnerability due to the risk of unauthorized root access.
How do I fix CVE-2024-21653?
To fix CVE-2024-21653, configure the SSH service to disable root login and use key-based authentication instead.
Which versions are affected by CVE-2024-21653?
CVE-2024-21653 affects Vantage6 versions prior to 4.2.0.
Who is impacted by CVE-2024-21653?
Users and administrators of Vantage6 who have not secured their SSH configurations are impacted by CVE-2024-21653.
What are the potential risks of CVE-2024-21653?
The potential risks of CVE-2024-21653 include unauthorized access and exploitation of systems due to permissive SSH configurations.