نسخههای متأثر
بازهها نیاز به بررسی دارند.
- نسخههای متأثر
- >=1.15.0 <1.52.0
- نسخهٔ اصلاحشده
- 1.52.0
- نسخههای متأثر
- >= 1.15.0, < 1.52.0
- نسخهٔ اصلاحشده
- 1.52.0
بهرهبرداری
شرح آسیبپذیری
Impact
Users are impacted if:
They have a caveat structure with a nested list, e.g.:
caveat shape(x list<any>) {
x == [["a"], "b"]
}
Their system exercises that caveat with either CheckBulkPermission or else LookupResources running with the
--experimental-lookup-resources-versionflag set tolr3, implying they are using the experimental version 3 ofLookupResourcesAn attacker can cause the system to craft a request to SpiceDB where either:
It's a
CheckBulkrequest where there are two check items that are identical except for their combined caveat context, and one of the caveat contexts evaluates positively and the other evaluates negativelyIt's a
LookupResourcesrequest where two resources have the same evaluation contents except for their caveat context, and one would evaluate positively and the other would evaluate negatively
If all of the above are true, it would be possible for SpiceDB to erroneously return that a user has access to a resource that they do not have access to.
Patches
This problem was addressed in https://github.com/authzed/spicedb/pull/3065 and released in version v1.52.0.
Workarounds
If using v3 of LookupResources, turn the flag off.
If possible, refactor the caveat declaration structure so that it does not operate on a list of lists, but rather any other composite structure.
پیوندها
- https://github.com/advisories/GHSA-mqcf-gqvg-rmhm
- https://github.com/authzed/spicedb
- https://github.com/authzed/spicedb/pull/3065
- https://github.com/authzed/spicedb/releases/tag/v1.52.0
- https://github.com/authzed/spicedb/security/advisories/GHSA-mqcf-gqvg-rmhm
- https://nvd.nist.gov/vuln/detail/CVE-2026-46668

