Headline
GHSA-3c32-4hq9-6wgj: SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not
Impact
Clients that have enabled LookupResources2
and have caveats in the evaluation path for their requests can return a permissionship of CONDITIONAL
with context marked as missing, even then the context was supplied.
LookupResources2 is the new default in SpiceDB 1.37.0 and has been opt-in since SpiceDB 1.35.0
Patches
The bug will be released as part of SpiceDB 1.37.1
Workarounds
Disable LookupResources2 via the --enable-experimental-lookup-resources
flag by setting it to false
--enable-experimental-lookup-resources=false
- GitHub Advisory Database
- GitHub Reviewed
- CVE-2024-48909
SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not
Low severity GitHub Reviewed Published Oct 14, 2024 in authzed/spicedb • Updated Oct 14, 2024
Package
gomod github.com/authzed/spicedb (Go)
Affected versions
>= 1.35.0, < 1.37.1
Impact
Clients that have enabled LookupResources2 and have caveats in the evaluation path for their requests can return a permissionship of CONDITIONAL with context marked as missing, even then the context was supplied.
LookupResources2 is the new default in SpiceDB 1.37.0 and has been opt-in since SpiceDB 1.35.0
Patches
The bug will be released as part of SpiceDB 1.37.1
Workarounds
Disable LookupResources2 via the --enable-experimental-lookup-resources flag by setting it to false
--enable-experimental-lookup-resources=false
References
- GHSA-3c32-4hq9-6wgj
- authzed/spicedb@2f3cf77
- https://nvd.nist.gov/vuln/detail/CVE-2024-48909
Published to the GitHub Advisory Database
Oct 14, 2024
Last updated
Oct 14, 2024