{"id":"CVE-2024-32001","published":"2024-04-10T22:25:12Z","modified":"2024-08-02T01:59:50Z","title":"SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used","vendor":"authzed","product":"spicedb","tier":"tail","description":{"text":"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","provenance":"source","from":"CVE.org"},"cvss":{"score":2.2,"severity":"LOW","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:H/UI:N/S:U/C:N/I:L/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00578,"percentile":0.48504,"provenance":"source"},"cwes":[{"id":"CWE-755","name":"Improper Handling of Exceptional Conditions"}],"references":[{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b","tags":["x_refsource_MISC"]},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.30.1","tags":["x_refsource_MISC"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":9.7},{"name":"CVSS severity","points":1.54}]},"vendorSlug":"authzed","affectedVersions":[{"vendor":"authzed","product":"spicedb","versions":["< 1.30.1"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2024-06-26T17:22:16.526254Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/authzed/spicedb","vulnerableRanges":["<1.30.1"],"patched":["1.30.1"],"from":["GHSA-j85q-46hg-36p2","GO-2024-2716"],"provenance":"source"}],"euvd":{"id":"EUVD-2024-1231","exploited":false,"provenance":"source"},"lineage":{"packageHistory":[{"cve":"CVE-2023-35930","published":"2023-06-26","fixed":"1.22.2","kev":false},{"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,"link":{"from":"CVE-2024-27101","to":"CVE-2024-32001","relation":"successor","confidence":"low","kind":"sequence","evidence":[{"kind":"version-step","provenance":"source","package":"Go:github.com/authzed/spicedb","fromFixed":"1.29.2","toFixed":"1.30.1","daysApart":40}]}},{"cve":"CVE-2024-32001","published":"2024-04-10","fixed":"1.30.1","kev":false},{"cve":"CVE-2024-38361","published":"2024-06-20","fixed":"1.33.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-46989","published":"2024-09-18","fixed":"1.35.3","kev":false},{"cve":"CVE-2024-48909","published":"2024-10-14","fixed":"1.37.1","kev":false}],"package":"Go:github.com/authzed/spicedb"}}