CVE-2023-28635 Defining resource name as integer in vantage6 may give unintended access

Medium 5.4 Published Updated

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.

PackageAffectedFixed in
vantage6 PyPIAll versions4.0.0
vantage6 PyPIAll versions4.0.0
vantage6 PyPIAll versions4.0.0
vantage6-node PyPIAll versions4.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.

Sources

Also known as GHSA-7x94-6g2m-3hp2, PYSEC-2023-198, PYSEC-2026-2006.

Is CVE-2023-28635 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free