LookupResources may return partial results in spicedb
cve-program · CVE-2023-35930
PublishedSpiceDB 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.
Read the publisher's advisoryeuvd · EUVD-2023-1842
PublishedSpiceDB 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.
Read the publisher's advisorynvd · CVE-2023-35930
PublishedSpiceDB 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.
Read the publisher's advisoryosv · GHSA-m54h-5x5f-5m6r
Published### Impact 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 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. ### Workarounds Avoid using `LookupResources` for negative authorization decisions if using `1.22.0`. ### Patches The 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). ### References - https://github.com/authzed/spicedb/pull/1397 ### For more information If you have any questions or comments about this advisory: * Open an issue in [SpiceDB](https://github.com/authzed/spicedb) * Ask a question in the [SpiceDB Discord](https://authzed.com/discord)
Read the publisher's advisoryosv · GO-2023-1871
PublishedSpiceDB's LookupResources may return partial results in github.com/authzed/spicedb
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2023-35930 · CVE overview and exploitation status
cve-program · CVE-2023-35930
- https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r
- https://github.com/authzed/spicedb/pull/1397
euvd · EUVD-2023-1842
- https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r
- https://github.com/authzed/spicedb/pull/1397
nvd · CVE-2023-35930
- https://github.com/authzed/spicedb/pull/1397
- https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r
osv · GHSA-m54h-5x5f-5m6r
- https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r
- https://nvd.nist.gov/vuln/detail/CVE-2023-35930
- https://github.com/authzed/spicedb/pull/1397
- https://github.com/authzed/spicedb
- https://github.com/authzed/spicedb/releases/tag/v1.22.2
osv · GO-2023-1871
Related changes
Linked by CVE identifierNo related changes are available here.