SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not
Published Oct 14, 2024
2.4
LOWCVSS 3.1
EPSS 0.32%
Description
SpiceDB is an open source database for scalably storing and querying fine-grained authorization data. Starting in version 1.35.0 and prior to version 1.37.1, clients that have enabled `LookupResources2` and have caveats in the evaluation path for their requests can return a permissionship of `CONDITIONAL` with context marked as missing, even then the context was supplied. LookupResources2 is the new default in SpiceDB 1.37.0 and has been opt-in since SpiceDB 1.35.0. The bug is patched as part of SpiceDB 1.37.1. As a workaround, disable LookupResources2 via the `--enable-experimental-lookup-resources` flag by setting it to `false`.
Affected products
-
- Version >= 1.35.0, < 1.37.1StatusaffectedConstraints-
- Version
No data.
No Red Hat product state for this CVE.
github.com/authzed/spicedb
Go
Introduced 1.35.0 Fixed 1.37.1
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| Go | github.com/authzed/spicedb | 1.35.0 | 1.37.1 |
Remediation
No remediation recorded yet.
References (5)
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2914 Advisory
- https://github.com/advisories/GHSA-3c32-4hq9-6wgj Advisory
- https://github.com/authzed/spicedb/commit/2f3cf77a7fcfcb478ef5a480a245842c96ac8853 x_refsource_MISCPatch
- https://github.com/authzed/spicedb/security/advisories/GHSA-3c32-4hq9-6wgj x_refsource_CONFIRMThird Party Advisory
- https://nvd.nist.gov/vuln/detail/CVE-2024-48909
| Link | Providers | Tags |
|---|---|---|
| https://euvd.enisa.europa.eu/vulnerability/EUVD-2024-2914 | Advisory | |
| https://github.com/advisories/GHSA-3c32-4hq9-6wgj | Advisory | |
| https://github.com/authzed/spicedb/commit/2f3cf77a7fcfcb478ef5a480a245842c96ac8853 | x_refsource_MISCPatch | |
| https://github.com/authzed/spicedb/security/advisories/GHSA-3c32-4hq9-6wgj | x_refsource_CONFIRMThird Party Advisory | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-48909 |
Change history (0)
No recorded changes yet.