CVE-2023-28635 Defining resource name as integer in vantage6 may give unintended access
Attackers can gain unauthorized access to resources by creating names that collide with internal IDs, bypassing access controls in vantage6.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-28635?
CVE-2023-28635 is a medium-severity authentication bypass vulnerability in vantage6, published on 11 Oct 2023. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
vantage6 is privacy preserving federated learning infrastructure. Prior to version 4.0.0, 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. Version 4.0.0 contains a patch for this issue. The best solution is to check when resources are created or modified, that the resource name always starts with a character.
Weakness: CWE-863
Which versions are affected by CVE-2023-28635?
4 open source packages ship an affected version, including vantage6 and vantage6-node. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
vantage6 PyPI | All versions | 4.0.0 |
vantage6 PyPI | All versions | 4.0.0 |
vantage6 PyPI | All versions | 4.0.0 |
vantage6-node PyPI | All versions | 4.0.0 |
Products include Vantage6 Vantage6.
How do I fix CVE-2023-28635?
Upgrade vantage6 to 4.0.0 or later.
Upgrade, and rotate credentials and sessions that may have been exposed. More about Authentication bypass.
Is CVE-2023-28635 being exploited?
There is no known exploitation of CVE-2023-28635 in the wild and no public exploit code.
Other vulnerabilities in vantage6
- CVE-2024-21649 Remote code execution
- CVE-2023-23929 Refresh tokens do not expire in Vantage6
- CVE-2023-47631 vantage6 Node accepts non-whitelisted algorithms from malicious server
- CVE-2024-21653 vantage6 insecure SSH configuration for node and server containers
- CVE-2023-22738 Improper Preservation of Permissions in vantage6
Sources
Also known as GHSA-7x94-6g2m-3hp2, PYSEC-2023-198, PYSEC-2026-2006.