{"id":"GHSA-m54h-5x5f-5m6r","revision":"5384ae83525a49569907dbbdec00e709","records":[{"revision":"5384ae83525a49569907dbbdec00e709","observedAt":"2026-10-24T13:19:41.952+00:00","statement":{"source":"osv","id":"GHSA-m54h-5x5f-5m6r","aliases":["CVE-2023-35930","GO-2023-1871"],"title":"SpiceDB's LookupResources may return partial results","description":"### Impact\nAny user making a negative authorization decision based on the results of a LookupResources request with 1.22.0 is affected.\n\nFor example, using `LookupResources` to find a list of resources to allow access to be okay: some subjects that should have access to a resource may not. But if using `LookupResources` to find a list of banned resources instead, then some users that shouldn't have access may.\n\nGenerally, `LookupResources` is not and should not be used to gate access in this way - that's what the `Check` API is for. Additionally, version 1.22.0 has included a warning about this bug since its initial release.\n\n### Workarounds\nAvoid using `LookupResources` for negative authorization decisions if using `1.22.0`. \n\n### Patches\nThe only affected release is [v1.22.0](https://github.com/authzed/spicedb/releases/tag/v1.22.0), and it is patched in [v1.22.2](https://github.com/authzed/spicedb/releases/tag/v1.22.2) (there is no v1.22.1 release, though there is a git tag).\n\n### References\n- https://github.com/authzed/spicedb/pull/1397\n\n### For more information\nIf you have any questions or comments about this advisory:\n* Open an issue in [SpiceDB](https://github.com/authzed/spicedb)\n* Ask a question in the [SpiceDB Discord](https://authzed.com/discord)\n","state":0,"publishedAt":"2023-06-28T22:48:50+00:00","modifiedAt":"2026-09-10T03:50:08.3722078+00:00","affected":[{"ecosystem":"Go","name":"github.com/authzed/spicedb","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"1.22.0"},{"kind":"fixed","version":"1.22.2"}]}],"versions":["1.22.0"],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"LOW"}],"references":["https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r","https://nvd.nist.gov/vuln/detail/CVE-2023-35930","https://github.com/authzed/spicedb/pull/1397","https://github.com/authzed/spicedb","https://github.com/authzed/spicedb/releases/tag/v1.22.2"],"sourceUrl":"https://github.com/advisories/GHSA-m54h-5x5f-5m6r","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-m54h-5x5f-5m6r","identifiers":["GHSA-m54h-5x5f-5m6r","CVE-2023-35930","GO-2023-1871"]},"retained":false,"historicalAffected":[]}],"coverage":[]}