{"schema_version":"1.9.0","id":"GHSA-3c32-4hq9-6wgj","published":"2024-10-14T21:04:56Z","modified":"2024-10-15T16:11:55.210845Z","aliases":["CVE-2024-48909","GO-2024-3200"],"summary":"SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not","details":"### Impact\n\nClients 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.\n\nLookupResources2 is the new default in SpiceDB 1.37.0 and has been opt-in since SpiceDB 1.35.0\n\n### Patches\nThe bug will be released as part of SpiceDB 1.37.1\n\n### Workarounds\nDisable LookupResources2 via the `--enable-experimental-lookup-resources` flag by setting it to `false`\n\n```\n--enable-experimental-lookup-resources=false\n```\n","affected":[{"package":{"name":"github.com/authzed/spicedb","ecosystem":"Go","purl":"pkg:golang/github.com/authzed/spicedb"},"ranges":[{"type":"SEMVER","events":[{"introduced":"1.35.0"},{"fixed":"1.37.1"}]}],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/10/GHSA-3c32-4hq9-6wgj/GHSA-3c32-4hq9-6wgj.json"}}],"references":[{"type":"WEB","url":"https://github.com/authzed/spicedb/security/advisories/GHSA-3c32-4hq9-6wgj"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-48909"},{"type":"WEB","url":"https://github.com/authzed/spicedb/commit/2f3cf77a7fcfcb478ef5a480a245842c96ac8853"},{"type":"PACKAGE","url":"https://github.com/authzed/spicedb"}],"database_specific":{"cwe_ids":["CWE-172"],"github_reviewed":true,"github_reviewed_at":"2024-10-14T21:04:56Z","nvd_published_at":"2024-10-14T21:15:12Z","severity":"LOW"},"severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N"}]}