{"id":"CVE-2024-38361","published":"2024-06-20T22:18:35Z","modified":"2024-08-02T04:04:25Z","title":"Permissions processing error in spacedb","vendor":"authzed","product":"spicedb","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":3.7,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00529,"percentile":0.38154,"provenance":"source"},"cwes":[{"id":"CWE-281","name":"Improper Preservation of Permissions"}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","tags":["x_refsource_MISC"]}],"priority":{"score":10.2,"factors":[{"name":"EPSS percentile","points":7.63},{"name":"CVSS severity","points":2.59}]},"vendorSlug":"authzed","affectedVersions":[{"vendor":"authzed","product":"spicedb","versions":["< 1.33.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-25T18:16:22.495588Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/authzed/spicedb","vulnerableRanges":["<1.33.1"],"patched":["1.33.1"],"from":["GHSA-grjv-gjgr-66g2","GO-2024-2939"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-2059","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-46255","published":"2023-10-31","fixed":"1.27.0-rc1","kev":false},{"cve":"CVE-2024-27101","published":"2024-03-01","fixed":"1.29.2","kev":false},{"cve":"CVE-2024-32001","published":"2024-04-10","fixed":"1.30.1","kev":false,"link":{"from":"CVE-2024-32001","to":"CVE-2024-38361","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authzed/spicedb","fromFixed":"1.30.1","toFixed":"1.33.1","daysApart":71}]}},{"cve":"CVE-2024-38361","published":"2024-06-20","fixed":"1.33.1","kev":false},{"cve":"CVE-2024-46989","published":"2024-09-18","fixed":"1.35.3","kev":false,"link":{"from":"CVE-2024-38361","to":"CVE-2024-46989","relation":"successor","confidence":"high","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authzed/spicedb","fromFixed":"1.33.1","toFixed":"1.35.3","daysApart":90},{"kind":"same-code","provenance":"machine","files":["internal/graph/check.go"],"commits":["https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","https://github.com/authzed/spicedb/commit/d4ef8e1dbce1eafaf25847f4c0f09738820f5bf2","https://github.com/authzed/spicedb/commit/20855de75812bcbc975efebe7f76abf47c0f3edb"],"basis":"shared file"}]}},{"cve":"CVE-2024-48909","published":"2024-10-14","fixed":"1.37.1","kev":false},{"cve":"CVE-2025-49011","published":"2025-06-06","fixed":"1.44.2","kev":false}],"package":"Go:github.com/authzed/spicedb"}}