SpiceDB: LookupSubjects may return partial results if a specific kind of relation is used
cve-program · CVE-2024-32001
PublishedSpiceDB 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.
Read the publisher's advisoryeuvd · EUVD-2024-1231
PublishedSpiceDB 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.
Read the publisher's advisorynvd · CVE-2024-32001
PublishedSpiceDB 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.
Read the publisher's advisoryosv · GHSA-j85q-46hg-36p2
Published### Background 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. ### Impact Any user making a negative authorization decision based on the results of a LookupSubjects request with version before v1.30.1 is affected. ### Workarounds Avoid using LookupSubjects for negative authorization decisions and/or avoid using the broken schema.
Read the publisher's advisoryosv · GO-2024-2716
PublishedSpiceDB: LookupSubjects may return partial results if a specific kind of relation is used in github.com/authzed/spicedb
Read the publisher's advisoryAffected versions, risk and source history
Related advisories and sources
Publishers link these advisories through the identifiers shown below. A shared identifier or date alone does not tell you whether your software is affected or whether the advisories describe the same cause.
CVE-2024-32001 · CVE overview and exploitation status
cve-program · CVE-2024-32001
- 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
euvd · EUVD-2024-1231
- 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
nvd · CVE-2024-32001
- https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b
- https://github.com/authzed/spicedb/releases/tag/v1.30.1
- https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2
osv · GHSA-j85q-46hg-36p2
- https://github.com/authzed/spicedb/security/advisories/GHSA-j85q-46hg-36p2
- https://nvd.nist.gov/vuln/detail/CVE-2024-32001
- https://github.com/authzed/spicedb/commit/a244ed1edfaf2382711dccdb699971ec97190c7b
- https://github.com/authzed/spicedb
- https://github.com/authzed/spicedb/releases/tag/v1.30.1
osv · GO-2024-2716
Related changes
Linked by CVE identifierNo related changes are available here.