Skip to content
Heist/ feed
Back to feed
Low

SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not

Type: advisorySources: OSV

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

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-48909
Confirmed fixed CVEs
Not specified
Updated in this feed
5 Nov 2026, 05:44 UTC · Revision 1

Source evidence

SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not

core-osv · Original source

Published 14 Oct 2024, 20:22 UTC

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

osv:CVE-2024-48909
Complete source record
{
  "id": "33ee6e76990ab52f42a5c7fb9ed08301f506c47b21944b70a53836cbc4c95372",
  "url": "https://osv.dev/vulnerability/CVE-2024-48909",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not",
    "summary": "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`.",
    "evidence": "osv:CVE-2024-48909",
    "products": [],
    "severity": "low",
    "structured": {
      "id": "CVE-2024-48909",
      "aliases": [
        "CVE-2024-48909",
        "GHSA-3c32-4hq9-6wgj",
        "GO-2024-3200"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/authzed/spicedb",
              "type": "GIT",
              "events": [
                {
                  "introduced": "62be65d833178adfe409b55556860e3de77684e0"
                },
                {
                  "fixed": "43afc28f5aaba86c4b2b13004857cfe209d444da"
                },
                {
                  "fixed": "2f3cf77a7fcfcb478ef5a480a245842c96ac8853"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "cpe": "cpe:2.3:a:authzed:spicedb:*:*:*:*:*:*:*:*",
                    "range": [
                      {
                        "introduced": "1.35.0"
                      },
                      {
                        "fixed": "1.37.1"
                      }
                    ],
                    "source": "CPE_RANGE"
                  },
                  {
                    "range": [
                      {
                        "fixed": "2f3cf77a7fcfcb478ef5a480a245842c96ac8853"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v1.37.0",
            "v1.35.3",
            "v1.35.2",
            "v1.35.1",
            "v1.35.0"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-48909.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:43.086081607Z",
      "provider": "osv",
      "references": [
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48909.json",
        "https://github.com/authzed/spicedb/security/advisories/GHSA-3c32-4hq9-6wgj",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-48909",
        "https://github.com/authzed/spicedb/commit/2f3cf77a7fcfcb478ef5a480a245842c96ac8853"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-172"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/48xxx/CVE-2024-48909.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-48909",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 510805,
  "published_at": "2024-10-14T20:22:17.777+00:00"
}