GitHub Advisoryadvisory · PyPI
GHSA-2wgc-48g2-cj5w vantage6 has insecure SSH configuration for node and server containers
MEDIUM
Official page ↗
- Aliases
- CVE-2024-21653
- Ecosystem
- PyPI
- Packages
- vantage6
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- Weaknesses
- CWE-284
- Reviewed
- 2024-01-30
Affected packages
• PyPI vantage6: < 4.2.0 → fixed in 4.2.0
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
Related
Alias · CVE (1)
- CVE-2024-21653 The vantage6 technology enables to manage and deploy privacy enhancing technologies like Federated Learning (FL) and Multi-Party… vulnerability
Weakness · CWE (1)
- CWE-284 Improper Access Control weakness
References
- https://github.com/vantage6/vantage6/security/advisories/GHSA-2wgc-48g2-cj5w web
- https://nvd.nist.gov/vuln/detail/CVE-2024-21653 advisory
- https://github.com/vantage6/vantage6/commit/3fcc6e6a8bd1142fd7a558d8fdd2b246e55c8841 web
- https://github.com/pypa/advisory-database/tree/main/vulns/vantage6-server/PYSEC-2024-34.yaml web
- https://github.com/vantage6/vantage6 package