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

exploitDog

github логотип

GHSA-grjv-gjgr-66g2

Опубликовано: 20 июн. 2024
Источник: github
Github: Прошло ревью
CVSS4: 6.3
CVSS3: 3.7

Описание

SpiceDB exclusions can result in no permission returned when permission expected

Background

Use of an exclusion under an arrow that has multiple resources may resolve to NO_PERMISSION when permission is expected.

For example, given this schema:

definition user {} definition folder { relation member: user relation banned: user permission view = member - banned } definition resource { relation folder: folder permission view = folder->view }

If the resource exists under multiple folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that all the folders in which the user is a member be returned

Impact

Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API.

Workarounds

None

Пакеты

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

github.com/authzed/spicedb

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

< 1.33.1

1.33.1

EPSS

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

6.3 Medium

CVSS4

3.7 Low

CVSS3

Дефекты

CWE-281

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

CVSS3: 3.7
nvd
больше 1 года назад

Spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Use of an exclusion under an arrow that has multiple resources may resolve to `NO_PERMISSION` when permission is expected. If the resource exists under *multiple* folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that *all* the folders in which the user is a member be returned. Permission is returned as `NO_PERMISSION` when `PERMISSION` is expected on the `CheckPermission` API. This issue has been addressed in version 1.33.1. All users are advised to upgrade. There are no known workarounds for this issue.

CVSS3: 3.7
fstec
больше 1 года назад

Уязвимость системы управления базами данных SpiceDB, связанная с неправильным сохранением разрешений, позволяющая нарушителю оказать воздействие на целостность данных

EPSS

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

6.3 Medium

CVSS4

3.7 Low

CVSS3

Дефекты

CWE-281