ghsa-3c32-4hq9-6wgj
Vulnerability from github
Published
2024-10-14 21:04
Modified
2024-10-14 22:24
Severity ?
VLAI Severity ?
Summary
SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not
Details
Impact
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
Patches
The bug will be released as part of SpiceDB 1.37.1
Workarounds
Disable LookupResources2 via the --enable-experimental-lookup-resources
flag by setting it to false
--enable-experimental-lookup-resources=false
{ "affected": [ { "package": { "ecosystem": "Go", "name": "github.com/authzed/spicedb" }, "ranges": [ { "events": [ { "introduced": "1.35.0" }, { "fixed": "1.37.1" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2024-48909" ], "database_specific": { "cwe_ids": [ "CWE-172" ], "github_reviewed": true, "github_reviewed_at": "2024-10-14T21:04:56Z", "nvd_published_at": "2024-10-14T21:15:12Z", "severity": "LOW" }, "details": "### Impact\n\nClients 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.\n\nLookupResources2 is the new default in SpiceDB 1.37.0 and has been opt-in since SpiceDB 1.35.0\n\n### Patches\nThe bug will be released as part of SpiceDB 1.37.1\n\n### Workarounds\nDisable LookupResources2 via the `--enable-experimental-lookup-resources` flag by setting it to `false`\n\n```\n--enable-experimental-lookup-resources=false\n```\n", "id": "GHSA-3c32-4hq9-6wgj", "modified": "2024-10-14T22:24:05Z", "published": "2024-10-14T21:04:56Z", "references": [ { "type": "WEB", "url": "https://github.com/authzed/spicedb/security/advisories/GHSA-3c32-4hq9-6wgj" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-48909" }, { "type": "WEB", "url": "https://github.com/authzed/spicedb/commit/2f3cf77a7fcfcb478ef5a480a245842c96ac8853" }, { "type": "PACKAGE", "url": "https://github.com/authzed/spicedb" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:L/I:N/A:N", "type": "CVSS_V3" } ], "summary": "SpiceDB calls to LookupResources using LookupResources2 with caveats may return context is missing when it is not" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…