{"id":"CVE-2023-35930","summary":"LookupResources may return partial results in spicedb","details":"SpiceDB is an open source, Google Zanzibar-inspired, database system for creating and managing security-critical application permissions. Any user making a negative authorization decision based on the results of a `LookupResources` request with 1.22.0 is affected. For 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. Generally, `LookupResources` is not and should not be 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. Users are advised to upgrade to version 1.22.2. Users unable to upgrade should avoid using `LookupResources` for negative authorization decisions.","aliases":["GHSA-m54h-5x5f-5m6r","GO-2023-1871"],"modified":"2026-08-12T03:30:36.069079998Z","published":"2023-06-26T19:32:59.829Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-913"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35930.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2023/35xxx/CVE-2023-35930.json"},{"type":"ADVISORY","url":"https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35930"},{"type":"FIX","url":"https://github.com/authzed/spicedb/pull/1397"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/authzed/spicedb","events":[{"introduced":"374cd7e5db8e460381016859eae1a7de3e760414"},{"last_affected":"374cd7e5db8e460381016859eae1a7de3e760414"}],"database_specific":{"source":["AFFECTED_FIELD","CPE_STRING"],"cpe":"cpe:2.3:a:authzed:spicedb:1.22.0:-:*:*:*:*:*:*","extracted_events":[{"introduced":"= 1.22.0"},{"last_affected":"= 1.22.0"},{"introduced":"1.22.0-NA"},{"last_affected":"1.22.0-NA"}]}}],"versions":["1.22.0-NA","= 1.22.0","v1.22.0"],"database_specific":{"source":"https://storage.googleapis.com/osv-test-cve-osv-conversion/osv-output/CVE-2023-35930.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}