{"id":"CVE-2024-32001","state":"PUBLISHED","title":"SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used","description":"SpiceDB is a graph database purpose-built for storing and evaluating access control data. Use of a relation of the form: `relation folder: folder | folder#parent` with an arrow such as `folder->view` can cause LookupSubjects to only return the subjects found under subjects for either `folder` or `folder#parent`. This bug only manifests if the same subject type is used multiple types in a relation, relationships exist for both subject types and an arrow is used over the relation. Any user making a negative authorization decision based on the results of a LookupSubjects request with version before v1.30.1 is affected. Version 1.30.1 contains a patch for the issue. As a workaround, avoid using LookupSubjects for negative authorization decisions and/or avoid using the broken schema.\n","publishedAt":"2024-04-10T22:25:12.353Z","updatedAt":"2024-08-02T01:59:50.838Z","severity":{"score":2.2,"label":"Low","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/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.30.1","status":"affected"}]}],"references":["https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2","https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b","https://github.com/authzed/spicedb/releases/tag/v1.30.1"],"weaknesses":["CWE-755"],"ingestedAt":"2026-10-29T20:07:21.467Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2024/32xxx/CVE-2024-32001.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.1","cveMetadata":{"cveId":"CVE-2024-32001","state":"PUBLISHED","datePublished":"2024-04-10T22:25:12.353Z","dateUpdated":"2024-08-02T01:59:50.838Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2024-04-08T13:48:37.492Z"},"containers":{"cna":{"title":"SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used","descriptions":[{"lang":"en","value":"SpiceDB is a graph database purpose-built for storing and evaluating access control data. Use of a relation of the form: `relation folder: folder | folder#parent` with an arrow such as `folder->view` can cause LookupSubjects to only return the subjects found under subjects for either `folder` or `folder#parent`. This bug only manifests if the same subject type is used multiple types in a relation, relationships exist for both subject types and an arrow is used over the relation. Any user making a negative authorization decision based on the results of a LookupSubjects request with version before v1.30.1 is affected. Version 1.30.1 contains a patch for the issue. As a workaround, avoid using LookupSubjects for negative authorization decisions and/or avoid using the broken schema.\n"}],"affected":[{"vendor":"authzed","product":"spicedb","versions":[{"version":"< 1.30.1","status":"affected"}]}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2","name":"https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b","name":"https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b","tags":["x_refsource_MISC"]},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.30.1","name":"https://github.com/authzed/spicedb/releases/tag/v1.30.1","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":2.2,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"HIGH","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-755","lang":"en","description":"CWE-755: Improper Handling of Exceptional Conditions","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2024-04-10T22:25:12.353Z"},"source":{"advisory":"GHSA-j85q-46hg-36p2","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2024-06-26T17:22:16.526254Z","id":"CVE-2024-32001","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-26T17:22:22.379Z"}},{"title":"CVE Program Container","references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2","name":"https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2","tags":["x_refsource_CONFIRM","x_transferred"]},{"url":"https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b","name":"https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b","tags":["x_refsource_MISC","x_transferred"]},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.30.1","name":"https://github.com/authzed/spicedb/releases/tag/v1.30.1","tags":["x_refsource_MISC","x_transferred"]}],"providerMetadata":{"shortName":"CVE","orgId":"af854a3a-2127-422b-91ae-364da2661108","dateUpdated":"2024-08-02T01:59:50.838Z"}}]}}}