GitHub Advisoryadvisory · PyPI

GHSA-7x94-6g2m-3hp2 Defining resource name as integer may give unintended access in vantage6

MEDIUM Published 2023-10-13 Modified 2024-11-18 Official page ↗
Aliases
CVE-2023-28635
Ecosystem
PyPI
Packages
vantage6
Severity
Moderate
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
Weaknesses
CWE-863
Reviewed
2023-10-13

Affected packages

• PyPI vantage6: < 4.0.0 → fixed in 4.0.0

Description

Impact Malicious users may try to get access to resources they are not allowed to see, by creating resources with integers as names. One example where this is a risk, is when users define which users are allowed to run algorithms on their node. This may be defined by username or user id. Now, for example, if user id 13 is allowed to run tasks, and an attacker creates a username with username '13', they would be wrongly allowed to run an algorithm. There may also be other places in the code where such a mixup of resource ID or name leads to issues. The best solution we see is therefore to check when resources are created or modified, that the resource name always starts with a character. Patches To be done, probably in v3.9 Workarounds None

Related

Alias · CVE (1)

  • CVE-2023-28635 vantage6 is privacy preserving federated learning infrastructure. vulnerability

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References