{"id":"CVE-2023-35930","aliases":["CVE-2023-35930","GHSA-m54h-5x5f-5m6r","GO-2023-1871"],"related":[],"kind":"vulnerability","state":"published","title":"LookupResources may return partial results in spicedb","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### 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)","format":"markdown","source":"ghsa"},{"lang":"en","text":"SpiceDB's LookupResources may return partial results in github.com/authzed/spicedb","format":"markdown","source":"go"},{"lang":"es","text":"SpiceDB es un sistema de base de datos de código abierto, inspirado en Google Zanzibar, para crear y gestionar permisos de aplicaciones críticos para la seguridad. Cualquier usuario que tome una decisión de autorización negativa basada en los resultados de una solicitud \"LookupResources\" con la versión 1.22.0 se ve afectado. Por ejemplo, si se utiliza \"LookupResources\" para buscar una lista de recursos a los que permitir el acceso, no pasa nada: algunos sujetos que deberían tener acceso a un recurso pueden no tenerlo. Pero si en cambio se utiliza \"LookupResources\" para encontrar una lista de recursos prohibidos, entonces algunos usuarios que no deberían tener acceso podrían tenerlo. En general, \"LookupResources\" no sirve ni deberia servir para bloquear el acceso de esta forma: para eso está la API \"Check\". Además, la versión 1.22.0 ha incluido una advertencia sobre este error desde su lanzamiento inicial. Se recomienda a los usuarios que actualicen a la versión 1.22.2. Los usuarios que no puedan actualizarse deberían evitar el uso de \"LookupResources\" para decisiones de autorización negativas.","source":"nvd"}],"published":"2023-06-26T19:32:59.829Z","modified":"2026-09-10T03:50:08.372Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","score":3.7,"rating":"LOW"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"}],"cwes":["CWE-913"],"affected":[{"ranges":[{"version":"= 1.22.0","status":"affected"}],"vendor":"authzed","product":"spicedb","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"1.22.0","status":"affected","fixed":"1.22.2"}],"ecosystem":"Go","package":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"1.22.0","status":"affected","fixed":"1.22.2"}],"ecosystem":"Go","package":"github.com/authzed/spicedb","purl":"pkg:golang/github.com/authzed/spicedb","source":"go"},{"ranges":[{"status":"affected","version":"1.22.0"}],"vendor":"authzed","product":"spicedb","cpe":"cpe:2.3:a:authzed:spicedb:1.22.0:-:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r","tags":["advisory","patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/authzed/spicedb/pull/1397","tags":["fix","patch","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35930","tags":["advisory"],"sources":["ghsa","go"]},{"url":"https://github.com/authzed/spicedb","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.22.2","tags":["web"],"sources":["ghsa","go"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2024-11-06T21:06:20.932Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2023-35930","url":"https://www.cve.org/CVERecord?id=CVE-2023-35930","licence":"CVE Terms of Use","modified":"2024-11-06T21:06:28.339Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-m54h-5x5f-5m6r","url":"https://github.com/advisories/GHSA-m54h-5x5f-5m6r","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:08.372Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2023-1871","url":"https://pkg.go.dev/vuln/GO-2023-1871","licence":"CC-BY-4.0","modified":"2026-03-03T04:53:53.420Z"},{"source":"nvd","name":"NVD","id":"CVE-2023-35930","url":"https://nvd.nist.gov/vuln/detail/CVE-2023-35930","licence":"Public domain","modified":"2026-06-17T06:05:29.390Z"}],"updatedAt":"2026-11-25T22:58:25.225Z","epss":{"score":0.00448,"percentile":0.40666,"date":"2026-12-01T12:00:22.000Z"}}