Skip to content

Defining resource name as integer may give unintended access in vantage6

Moderate severity GitHub Reviewed Published Oct 11, 2023 in vantage6/vantage6 • Updated Nov 5, 2023

Package

pip vantage6 (pip)

Affected versions

< 4.0.0

Patched versions

4.0.0
pip vantage6-node (pip)
>= 0, < 4.0.0
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

References

@frankcorneliusmartin frankcorneliusmartin published to vantage6/vantage6 Oct 11, 2023
Published by the National Vulnerability Database Oct 11, 2023
Published to the GitHub Advisory Database Oct 13, 2023
Reviewed Oct 13, 2023
Last updated Nov 5, 2023

Severity

Moderate
5.4
/ 10

CVSS base metrics

Attack vector
Network
Attack complexity
Low
Privileges required
Low
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N

Weaknesses

CVE ID

CVE-2023-28635

GHSA ID

GHSA-7x94-6g2m-3hp2

Source code

Loading Checking history
See something to contribute? Suggest improvements for this vulnerability.