CVE-2024-21653
JSON

6.5medium

vantage6 insecure SSH configuration for node and server containers

Severity
6.5medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.47% (higher than 42% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-2wgc-48g2-cj5wPYSEC-2024-33PYSEC-2024-34PYSEC-2026-2003

Description

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.

Affected

Product or packageVersionsReported by
vantage6 vantage6< 4.2.0, before 4.2.0CVE List, NVD
vantage6 (PyPI)before 4.2.0GitHub Advisory Database, PyPA Advisory Database
vantage6-node (PyPI)before 3fcc6e6a8bd1142fd7a558d8fdd2b246e55c8841, before 4.2.0PyPA Advisory Database
vantage6-server (PyPI)before 3fcc6e6a8bd1142fd7a558d8fdd2b246e55c8841, before 4.2.0PyPA Advisory Database

All scores

GitHub_M6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
PyPA Advisory Database6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-284

SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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

NVD (es)

La tecnología vantage6 permite gestionar e implementar tecnologías que mejoran la privacidad, como el Federated Learning (FL) y la Multi-Party Computation (MPC). Los nodos y servidores obtienen una configuración ssh de forma predeterminada que permite el inicio de sesión root con autenticación de contraseña. En una implementación adecuada, el servicio SSH no queda expuesto por lo que no hay riesgo, pero no todas las implementaciones son ideales. Por lo tanto, el valor predeterminado debería ser menos permisivo. La vulnerabilidad se puede mitigar eliminando la parte ssh del archivo docker y reconstruyendo la imagen de la ventana acoplable. La versión 4.2.0 parchea la vulnerabilidad.

References

Sources

SourceRecordLicence
CVE ListCVE-2024-21653 changed 2024-08-23CVE Terms of Use
GitHub Advisory DatabaseGHSA-2wgc-48g2-cj5w changed 2026-09-10CC-BY-4.0
NVDCVE-2024-21653 changed 2026-06-17Public domain
PyPA Advisory DatabasePYSEC-2024-33 changed 2026-07-07CC-BY-4.0
PyPA Advisory DatabasePYSEC-2024-34 changed 2026-07-07CC-BY-4.0
PyPA Advisory DatabasePYSEC-2026-2003 changed 2026-07-07CC-BY-4.0