Vulnerability · Published Jun 26, 2023 · Assigned by GitHub_M
CVE-2023-35930LookupResources may return partial results in spicedb
Low 3.7
In plain English
A low-severity security flaw in spicedb from authzed. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.4% (higher than 39% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/authzed/spicedb | 1.22.2 | GHSA-m54h-5x5f-5m6r |
| Go | github.com/authzed/spicedb | 1.22.2 | GO-2023-1871 |
Affected products (as reported)
Weakness: CWE-913 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N
References
- https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r x_refsource_CONFIRM
- https://github.com/authzed/spicedb/pull/1397 x_refsource_MISC