SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| authzed | spicedb | affected |
|
No data.
No data.
| Vendor | Product | Versions | ||||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Authzed | Spicedb |
|
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-4vrg-r928-h5vv | SpiceDB: Checks involving relations with caveats can result in unconditional permission when conditional permission is expected |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.341% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Authzed
Authzed spicedb |
|
| Vendors & Products |
Authzed
Authzed spicedb |
| Type | Values Removed | Values Added |
|---|---|---|
| Description | SpiceDB is an open source database system for creating and managing security-critical application permissions. From 1.34.0 until 1.54.0, SpiceDB can return PERMISSIONSHIP_HAS_PERMISSION instead of PERMISSIONSHIP_CONDITIONAL_PERMISSION or PERMISSIONSHIP_NO_PERMISSION because checkRequestToKey() and checkRequestToKeyWithCanonical() in internal/dispatch/keys/computed.go omit CheckHints when constructing dispatch Check cache keys. The incorrect result requires a permission combining relations with intersection or exclusion, a subject reachable through caveated and non-caveated branches, LookupResources with a context parameter running concurrently with CheckPermission or CheckBulkPermissions for the same resource and subject, and an enabled dispatch result cache. Under these conditions, a result computed for one hint set can poison the cache entry used by a semantically different authorization check, allowing permission without satisfying the caveat. This issue is fixed in version 1.54.0. | |
| Title | SpiceDBChecks involving relations with caveats can result in unconditional permission when conditional permission is expected | |
| Weaknesses | CWE-863 | |
| References |
|
|
| Metrics |
cvssV3_1
|