GitHub Advisoryadvisory · Go

GHSA-3c32-4hq9-6wgj SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not

LOW Published 2024-10-14 Modified 2024-10-14 Official page ↗
Aliases
CVE-2024-48909
Ecosystem
Go
Packages
github.com/authzed/spicedb
Severity
Low
CVSS vector
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N
Weaknesses
CWE-172
Reviewed
2024-10-14

Affected packages

• Go github.com/authzed/spicedb: >= 1.35.0, < 1.37.1 → fixed in 1.37.1

Description

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 ```

Related

Alias · CVE (1)

  • CVE-2024-48909 SpiceDB is an open source database for scalably storing and querying fine-grained authorization data. vulnerability

Weakness · CWE (1)

  • CWE-172 Improper Encoding or Decoding of Data weakness

References