CVE-2024-46989
published 2024-09-18CVE-2024-46989: spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Multiple caveats over…
PriorityP427medium5.3CVSS 3.1
AVNACLPRNUINSUCNILAN
EPSS
0.29%
20.9th percentile
spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Multiple caveats over the same indirect subject type on the same relation can result in no permission being returned when permission is expected. If the resource has multiple groups, and each group is caveated, it is possible for the returned permission to be "no permission" when permission is expected. Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API. This issue has been addressed in release version 1.35.3. Users are advised to upgrade. Users unable to upgrade should not use caveats or avoid the use of caveats on an indirect subject type with multiple entries.
Affected
2 ranges
| Vendor | Product | Version range | Fixed in |
|---|---|---|---|
| authzed | spicedb | < 1.35.3 | 1.35.3 |
| github.com | authzed_spicedb | >= 0 < 1.35.3 | 1.35.3 |
Stop checking back — get the weekly exploitation signal.
Every Monday: what got weaponized or added to CISA KEV in the last seven days — each CVE cross-linked to its PoC, Nuclei template, and detection rule. Free, one email a week, unsubscribe in one click.
OSV
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission in github.com/authzed/spicedb
osv·2024-09-25
CVE-2024-46989 SpiceDB having multiple caveats on resources of the same type may improperly result in no permission in github.com/authzed/spicedb
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission in github.com/authzed/spicedb
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission in github.com/authzed/spicedb
GHSA
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission
ghsa·2024-09-18
CVE-2024-46989 [MEDIUM] CWE-269 SpiceDB having multiple caveats on resources of the same type may improperly result in no permission
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission
## Background
Multiple caveats over the same indirect subject type on the same relation can result in no permission being returned when permission is expected
For example, given this schema:
```
definition user {}
caveat somecaveat(somefield int) {
somefield == 42
}
definition group {
relation member: user
}
definition resource {
relation viewer: group#member with somecaveat
permission view = folder->view
}
```
If the resource has multiple groups, and each group is caveated, it is possible for the returned permission to be "no permission" when permission is expected.
## Impact
Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API.
## Workar
OSV
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission
osv·2024-09-18
CVE-2024-46989 [MEDIUM] SpiceDB having multiple caveats on resources of the same type may improperly result in no permission
SpiceDB having multiple caveats on resources of the same type may improperly result in no permission
## Background
Multiple caveats over the same indirect subject type on the same relation can result in no permission being returned when permission is expected
For example, given this schema:
```
definition user {}
caveat somecaveat(somefield int) {
somefield == 42
}
definition group {
relation member: user
}
definition resource {
relation viewer: group#member with somecaveat
permission view = folder->view
}
```
If the resource has multiple groups, and each group is caveated, it is possible for the returned permission to be "no permission" when permission is expected.
## Impact
Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API.
## Workar
No detection rules found.
No public exploits indexed.
No writeups or analysis indexed.
2024-09-18
Published