CVE-2024-48909 – SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not
https://notcve.org/view.php?id=CVE-2024-48909
SpiceDB is an open source database for scalably storing and querying fine-grained authorization data. Starting in version 1.35.0 and prior to version 1.37.1, clients that have enabled `LookupResources2` and have caveats in the evaluation path for their requests can return a permissionship of `CONDITIONAL` with context marked as missing, even then the context was supplied. LookupResources2 is the new default in SpiceDB 1.37.0 and has been opt-in since SpiceDB 1.35.0. The bug is patched as part of SpiceDB 1.37.1. As a workaround, disable LookupResources2 via the `--enable-experimental-lookup-resources` flag by setting it to `false`. • https://github.com/authzed/spicedb/commit/2f3cf77a7fcfcb478ef5a480a245842c96ac8853 https://github.com/authzed/spicedb/security/advisories/GHSA-3c32-4hq9-6wgj • CWE-172: Encoding Error •
CVE-2024-46989 – Multiple caveats on resources of the same type can result in no permission when permission is expected
https://notcve.org/view.php?id=CVE-2024-46989
spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Multiple caveats over the same indirect subject type on the same relation can result in no permission being returned when permission is expected. If the resource has multiple groups, and each group is caveated, it is possible for the returned permission to be "no permission" when permission is expected. Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API. This issue has been addressed in release version 1.35.3. • https://github.com/authzed/spicedb/commit/d4ef8e1dbce1eafaf25847f4c0f09738820f5bf2 https://github.com/authzed/spicedb/security/advisories/GHSA-jhg6-6qrx-38mr • CWE-269: Improper Privilege Management •