Логотип exploitDog
Консоль
Логотип exploitDog

exploitDog

github логотип

GHSA-7x94-6g2m-3hp2

Опубликовано: 13 окт. 2023
Источник: github
Github: Прошло ревью
CVSS4: 5.3
CVSS3: 5.4

Описание

Defining resource name as integer may give unintended access in vantage6

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

Пакеты

Наименование

vantage6

pip
Затронутые версииВерсия исправления

< 4.0.0

4.0.0

EPSS

Процентиль: 53%
0.00307
Низкий

5.3 Medium

CVSS4

5.4 Medium

CVSS3

Дефекты

CWE-863

Связанные уязвимости

CVSS3: 5.4
nvd
больше 2 лет назад

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.

EPSS

Процентиль: 53%
0.00307
Низкий

5.3 Medium

CVSS4

5.4 Medium

CVSS3

Дефекты

CWE-863