Vulnerability · Published Oct 14, 2024 · Assigned by GitHub_M
CVE-2024-48909SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not
Low 2.0
In plain English
A low-severity security flaw in spicedb from authzed. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 25% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
SpiceDB is an open source database for scalably storing and querying fine-grained authorization data. Starting in version 1.35.0 and prior to version 1.37.1, 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. The bug is patched as part of SpiceDB 1.37.1. As a workaround, disable LookupResources2 via the `--enable-experimental-lookup-resources` flag by setting it to `false`.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/authzed/spicedb | 1.37.1 | GHSA-3c32-4hq9-6wgj |
| Go | github.com/authzed/spicedb | 1.37.1 | GO-2024-3200 |
Affected products (as reported)
Weakness: CWE-172 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N