CVE-2022-21646
HIGH 8.1CVSS 3.1Lookup operations do not take into account wildcards in SpiceDB
SpiceDB is a database system for managing security-critical application permissions. Any user making use of a wildcard relationship under the right hand branch of an exclusion or within an intersection operation will see Lookup/LookupResources return a resource as "accessible" if it is not accessible by virtue of the inclusion of the wildcard in the intersection or the right side of the exclusion. In v1.3.0, the wildcard is ignored entirely in lookup's dispatch, resulting in the banned wildcard being ignored in the exclusion. Version 1.4.0 contains a patch for this issue. As a workaround, don't make use of wildcards on the right side of intersections or within exclusions.
- Published
- 11 Jan 2022
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Modified
- Weakness
- CWE-155CWE-20
- Also known as
- GHSA-7p8f-8hjm-wm92GO-2022-0295
- Sources
- NVDJSONOSV GHSA-7p8f-8hjm-wm92JSONOSV GO-2022-0295JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 8.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N |
| NVD | nvd@nist.gov (Primary) | CVSS 2.0 | MEDIUM 5.5 | AV:N/AC:L/Au:S/C:P/I:P/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | authzed | spicedbcpe:2.3:a:authzed:spicedb:1.3.0:*:*:*:*:*:*:* |
= 1.3.0 | |
| OSV | Go | github.com/authzed/spicedb | >= 1.3.0, < 1.4.0 | 1.4.0 |
References
- https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970 · Patch, Third Party Advisory, WEB, FIX
- https://github.com/authzed/spicedb/issues/358 · Third Party Advisory, WEB, REPORT
- https://github.com/authzed/spicedb/releases/tag/v1.4.0 · Release Notes, Third Party Advisory, WEB
- https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92 · Third Party Advisory, WEB, ADVISORY
- https://nvd.nist.gov/vuln/detail/CVE-2022-21646 · ADVISORY
- https://github.com/authzed/spicedb · PACKAGE
History
- 25 Nov 2026 20:33 UTC · NVD: first stored (published 11 Jan 2022)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 21 Aug 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 13 Jan 2022)