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.

Severity (CVSS 3.1)2.0Low
Exploit odds (30 days)0.3%top 75.0% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Gogithub.com/authzed/spicedb1.37.1GHSA-3c32-4hq9-6wgj
Gogithub.com/authzed/spicedb1.37.1GO-2024-3200

Affected products (as reported)

VendorProductVersions
authzed spicedb >= 1.35.0, < 1.37.1

Weakness: CWE-172 · Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N

References