{"api_version":"1","generated_at":"2026-04-13T11:48:34+00:00","cve":"CVE-2022-21646","urls":{"html":"https://cve.report/CVE-2022-21646","api":"https://cve.report/api/cve/CVE-2022-21646.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2022-21646","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2022-21646"},"summary":{"title":"CVE-2022-21646","description":"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.","state":"PUBLIC","assigner":"security-advisories@github.com","published_at":"2022-01-11 22:15:00","updated_at":"2023-07-24 13:54:00"},"problem_types":["NVD-CWE-Other"],"metrics":[],"references":[{"url":"https://github.com/authzed/spicedb/issues/358","name":"https://github.com/authzed/spicedb/issues/358","refsource":"MISC","tags":[],"title":"unexpected expand/lookup behaviour with wildcard permissions · Issue #358 · authzed/spicedb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92","name":"https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92","refsource":"CONFIRM","tags":[],"title":"Lookup operations do not take into account wildcards in intersections or exclusions · Advisory · authzed/spicedb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/authzed/spicedb/releases/tag/v1.4.0","name":"https://github.com/authzed/spicedb/releases/tag/v1.4.0","refsource":"MISC","tags":[],"title":"Release v1.4.0 · authzed/spicedb · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970","name":"https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970","refsource":"MISC","tags":[],"title":"Merge pull request from GHSA-7p8f-8hjm-wm92 · authzed/spicedb@15bba2e · GitHub","mime":"text/html","httpstatus":"200","archivestatus":"404"},{"url":"https://www.cve.org/CVERecord?id=CVE-2022-21646","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-21646","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[{"cve_year":"2022","cve_id":"21646","vulnerable":"1","versionEndIncluding":"","cpe1":"cpe","cpe2":"2.3","cpe3":"a","cpe4":"authzed","cpe5":"spicedb","cpe6":"1.3.0","cpe7":"*","cpe8":"*","cpe9":"*","cpe10":"*","cpe11":"*","cpe12":"*","cpe13":"*"}],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"CVE_data_meta":{"ASSIGNER":"security-advisories@github.com","ID":"CVE-2022-21646","STATE":"PUBLIC","TITLE":"Lookup operations do not take into account wildcards in SpiceDB"},"affects":{"vendor":{"vendor_data":[{"product":{"product_data":[{"product_name":"spicedb","version":{"version_data":[{"version_value":"= 1.3.0"}]}}]},"vendor_name":"authzed"}]}},"data_format":"MITRE","data_type":"CVE","data_version":"4.0","description":{"description_data":[{"lang":"eng","value":"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."}]},"impact":{"cvss":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","version":"3.1"}},"problemtype":{"problemtype_data":[{"description":[{"lang":"eng","value":"CWE-155: Improper Neutralization of Wildcards or Matching Symbols"}]},{"description":[{"lang":"eng","value":"CWE-20: Improper Input Validation"}]}]},"references":{"reference_data":[{"name":"https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92","refsource":"CONFIRM","url":"https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92"},{"name":"https://github.com/authzed/spicedb/issues/358","refsource":"MISC","url":"https://github.com/authzed/spicedb/issues/358"},{"name":"https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970","refsource":"MISC","url":"https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970"},{"name":"https://github.com/authzed/spicedb/releases/tag/v1.4.0","refsource":"MISC","url":"https://github.com/authzed/spicedb/releases/tag/v1.4.0"}]},"source":{"advisory":"GHSA-7p8f-8hjm-wm92","discovery":"UNKNOWN"}},"nvd":{"publishedDate":"2022-01-11 22:15:00","lastModifiedDate":"2023-07-24 13:54:00","problem_types":["NVD-CWE-Other"],"metrics":{"baseMetricV3":{"cvssV3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N","attackVector":"NETWORK","attackComplexity":"LOW","privilegesRequired":"LOW","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"HIGH","integrityImpact":"HIGH","availabilityImpact":"NONE","baseScore":8.1,"baseSeverity":"HIGH"},"exploitabilityScore":2.8,"impactScore":5.2},"baseMetricV2":{"cvssV2":{"version":"2.0","vectorString":"AV:N/AC:L/Au:S/C:P/I:P/A:N","accessVector":"NETWORK","accessComplexity":"LOW","authentication":"SINGLE","confidentialityImpact":"PARTIAL","integrityImpact":"PARTIAL","availabilityImpact":"NONE","baseScore":5.5},"severity":"MEDIUM","exploitabilityScore":8,"impactScore":4.9,"acInsufInfo":false,"obtainAllPrivilege":false,"obtainUserPrivilege":false,"obtainOtherPrivilege":false,"userInteractionRequired":false}},"configurations":{"CVE_data_version":"4.0","nodes":[{"operator":"OR","children":[],"cpe_match":[{"vulnerable":true,"cpe23Uri":"cpe:2.3:a:authzed:spicedb:1.3.0:*:*:*:*:*:*:*","cpe_name":[]}]}]}},"legacy_mitre":{"record":{"CveYear":"2022","CveId":"21646","Ordinal":"221422","Title":"CVE-2022-21646","CVE":"CVE-2022-21646","Year":"2022"},"notes":[{"CveYear":"2022","CveId":"21646","Ordinal":"1","NoteData":"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.","Type":"Description","Title":null},{"CveYear":"2022","CveId":"21646","Ordinal":"2","NoteData":"2022-01-11","Type":"Other","Title":"Published"},{"CveYear":"2022","CveId":"21646","Ordinal":"3","NoteData":"2022-01-11","Type":"Other","Title":"Modified"}]}}}