CVE-2023-35930 LookupResources may return partial results in spicedb
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| authzed github.com/authzed/spicedb(Go) | = 1.22.0; >= 1.22.0, < 1.22.2 | 1.22.2 | Fixed |
| authzed github.com/authzed/spicedb | = 1.22.0; = = 1.22.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| authzed github.com/authzed/spicedb(Go) | = 1.22.0 | No fix listed |
| authzed github.com/authzed/spicedb(Go) | >= 1.22.0, < 1.22.2 | 1.22.2 |
| authzed github.com/authzed/spicedb | = = 1.22.0 | No fix listed |
| authzed github.com/authzed/spicedb | = 1.22.0 | No fix listed |
References
- https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r patch vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/authzed/spicedb/pull/1397 patch vendor-advisory
- github.com
- github.com
- github.com product