{"id":"CVE-2024-38361","summary":"Permissions processing error in spacedb","details":"Spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Use of an exclusion under an arrow that has multiple resources may resolve to `NO_PERMISSION` when permission is expected. If the resource exists under *multiple* folders and the user has access to view more than a single folder, SpiceDB may report the user does not have access due to a failure in the exclusion dispatcher to request that *all* the folders in which the user is a member be returned. Permission is returned as `NO_PERMISSION` when `PERMISSION` is expected on the `CheckPermission` API. This issue has been addressed in version 1.33.1. All users are advised to upgrade. There are no known workarounds for this issue.","aliases":["GHSA-grjv-gjgr-66g2","GO-2024-2939"],"modified":"2026-07-15T01:49:13.637321605Z","published":"2024-06-20T22:18:35.552Z","related":["CGA-8f9x-mqgg-qjch"],"database_specific":{"cwe_ids":["CWE-281"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38361.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38361.json"},{"type":"ADVISORY","url":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38361"},{"type":"FIX","url":"https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/authzed/spicedb","events":[{"introduced":"0"},{"fixed":"684f85736ec85580f8ad45b654a30ecccccd36b8"},{"fixed":"ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"1.33.1"}],"source":["CPE_RANGE","REFERENCES"],"cpe":"cpe:2.3:a:authzed:spicedb:*:*:*:*:*:*:*:*"}}],"versions":["v1.33.0","v1.32.0","v1.31.0","v1.30.0","v1.29.1-rc1","v1.29.1","v1.29.0","v1.28.0-rc1","v1.28.0","v1.27.1-rc1","v1.27.0","v1.27.0-rc1","v1.26.0-rc2","v1.26.0","v1.26.0-rc1","v1.25.0","v1.25.0-rc4","v1.25.0-rc3","v1.25.0-rc2","v1.25.0-rc1","v1.24.0-rc3","v1.24.0","v1.24.0-rc2","v1.24.0-rc1","v1.23.1-rc1","v1.23.1","v1.23.0-rc4","v1.23.0","v1.23.0-rc3","v1.23.0-rc2","v1.23.0-rc1","v1.22.2","v1.22.1-rc1","v1.22.1","v1.22.0","v1.22.0-rc8","v1.22.0-rc7","v1.22.0-rc6","v1.22.0-rc5","v1.22.0-rc4","v1.22.0-rc2","v1.22.0-rc1","v1.21.0","v1.21.0-rc1","v1.19.0","v1.18.1","v1.17.0","v1.16.2","v1.16.1","v1.16.0","v1.15.0","v1.14.1","v1.14.0","v1.13.0","v1.12.0","v1.11.0","v1.10.0","v1.9.0","v1.8.0","v1.7.1","v1.7.0","v1.5.0","v1.4.0","v1.3.0","v1.2.0","v1.1.0","v1.0.0","v0.0.3","v0.0.2","v0.0.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-38361.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N"}]}