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

exploitDog

github логотип

GHSA-pm3x-jrhh-qcr7

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

Описание

SpiceDB WriteRelationships fails silently if payload is too big

Impact

Users who:

  1. Use the exclusion operator somewhere in their authorization schema.
  2. Have configured their SpiceDB server such that --write-relationships-max-updates-per-call is bigger than 6500.
  3. Issue calls to WriteRelationships with a large enough number of updates that cause the payload to be bigger than what their datastore allows.

Users will:

  1. Receive a successful response from their WriteRelationships call, when in reality that call failed.
  2. Receive incorrect permission check results, if those relationships had to be read to resolve the relation involving the exclusion.

Patches

Upgrade to v.145.2.

Workarounds

Set --write-relationships-max-updates-per-call to 1000.

Пакеты

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

github.com/authzed/spicedb

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

< 1.45.2

1.45.2

EPSS

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

2.7 Low

CVSS4

6.5 Medium

CVSS3

Дефекты

CWE-770

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

CVSS3: 6.5
nvd
3 месяца назад

SpiceDB is an open source database system for creating and managing security-critical application permissions. In versions prior to 1.45.2, users who use the exclusion operator somewhere in their authorization schema; have configured their SpiceDB server such that `--write-relationships-max-updates-per-call` is bigger than 6500; and issue calls to WriteRelationships with a large enough number of updates that cause the payload to be bigger than what their datastore allows; will receive a successful response from their `WriteRelationships` call, when in reality that call failed, and receive incorrect permission check results, if those relationships had to be read to resolve the relation involving the exclusion. Version 1.45.2 contains a patch for the issue. As a workaround, set `--write-relationships-max-updates-per-call` to `1000`.

EPSS

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

2.7 Low

CVSS4

6.5 Medium

CVSS3

Дефекты

CWE-770