{"id":"CVE-2024-38361","state":"PUBLISHED","title":"Permissions processing error in spacedb","description":"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.","publishedAt":"2024-06-20T22:18:35.552Z","updatedAt":"2024-08-02T04:04:25.268Z","severity":{"score":3.7,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["authzed spicedb"],"affected":[{"vendor":"authzed","product":"spicedb","versions":[{"version":"< 1.33.1","status":"affected"}]}],"references":["https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb"],"weaknesses":["CWE-281"],"ingestedAt":"2026-10-29T20:07:39.287Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/38xxx/CVE-2024-38361.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-38361","state":"PUBLISHED","datePublished":"2024-06-20T22:18:35.552Z","dateUpdated":"2024-08-02T04:04:25.268Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-06-14T14:16:16.465Z"},"containers":{"cna":{"title":"Permissions processing error in spacedb","descriptions":[{"lang":"en","value":"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."}],"affected":[{"vendor":"authzed","product":"spicedb","versions":[{"version":"< 1.33.1","status":"affected"}]}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","name":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","name":"https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-281","lang":"en","description":"CWE-281: Improper Preservation of Permissions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-06-20T22:18:35.552Z"},"source":{"advisory":"GHSA-grjv-gjgr-66g2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","affected":[{"vendor":"authzed","product":"spicedb","defaultStatus":"unknown","versions":[{"version":"0","status":"affected","lessThan":"1.33.1","versionType":"custom"}],"cpes":["cpe:2.3:a:authzed:spicedb:*:*:*:*:*:*:*:*"]}],"metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-25T18:16:22.495588Z","id":"CVE-2024-38361","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2024-06-25T18:19:03.411Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","name":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","name":"https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T04:04:25.268Z"}}]}}}