{"schemaVersion":3,"id":"CVE-2024-38361","aliases":["CGA-5cwm-5m5q-w5qm","CGA-w66q-36hj-83ff","GHSA-grjv-gjgr-66g2","GO-2024-2939"],"status":"published","duplicateOf":null,"title":null,"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.","dates":{"published":"2024-06-20T22:18:35.552Z","modified":"2024-08-02T04:04:25.268Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":5.3,"severity":"medium","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Wolfi","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"4.0","versionLabel":"v4.0","source":"OSV · Go","score":6.3,"severity":"medium","vector":"CVSS:4.0/AV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N","exploitability":null,"impact":null,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Chainguard","score":3.7,"severity":"low","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":5.6,"impact":2.3,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":5.3,"severity":"medium","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00396,"percentile":0.32325,"severity":"low","asOf":"2026-10-20T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-20T00:00:00.000Z","baselineScore":0.00396},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00396,"percentile":0.32325}],"last30":[{"date":"2026-09-20T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00396,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00396,"percentile":0.32325}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"GITHUB_AUTHZED_SPICEDB","name":"Spicedb","source":"github","url":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","maturity":"poc","reliabilityScore":0.3,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-281","name":"Improper Preservation of Permissions","description":"The product does not preserve permissions or incorrectly preserves permissions when copying, restoring, or sharing objects, which can cause them to have less restrictive permissions than intended.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/281.html"}],"affected":[{"vendor":"chainguard","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":"Chainguard","cpePart":null,"purl":"pkg:apk/chainguard/spicedb","purlType":"apk","versions":[{"text":"< 1.33.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.1-r0","eol":null,"hubHref":null},{"vendor":"wolfi","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":"Wolfi","cpePart":null,"purl":"pkg:apk/wolfi/spicedb","purlType":"apk","versions":[{"text":"< 1.33.1-r0","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.1-r0","eol":null,"hubHref":null},{"vendor":"authzed","product":"spicedb","name":"spicedb","label":"spicedb","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 1.33.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.1","eol":null,"hubHref":"/vendor/authzed/spicedb"},{"vendor":"github.com/authzed","product":"spicedb","name":"github.com/authzed/spicedb","label":"spicedb","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/authzed/spicedb","purlType":"golang","versions":[{"text":"< 1.33.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 1.33.1","eol":null,"hubHref":null}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","label":"github.com/authzed/spicedb/security/advisories/GHSA-grjv-gjgr-66g2","hostname":"github.com","tags":["X Refsource CONFIRM","Advisory","WEB","Exploit","Vendor Advisory"]},{"url":"https://github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","label":"github.com/authzed/spicedb/commit/ecef31d2b266fde17eb2c3415e2ec4ceff96fbeb","hostname":"github.com","tags":["X Refsource MISC","FIX","WEB","Patch"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38361.json","label":"github.com/CVEProject/cvelistV5/tree/main/cves/2024/38xxx/CVE-2024-38361.json","hostname":"github.com","tags":["Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-38361","label":"nvd.nist.gov/vuln/detail/CVE-2024-38361","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/authzed/spicedb","label":"github.com/authzed/spicedb","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":["CGA-8F9X-MQGG-QJCH","CGA-PFRR-QXJV-XMF4"]},"timeline":[{"kind":"published","date":"2024-06-20T22:18:35.552Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-02T04:04:25.268Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":31,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-21T03:25:27.316Z","stale":false,"partial":false}}