gsd-2022-21646
Vulnerability from gsd
Modified
2023-12-13 01:19
Details
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.
Aliases
Aliases
{ "GSD": { "alias": "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\u0027s 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\u0027t make use of wildcards on the right side of intersections or within exclusions.", "id": "GSD-2022-21646" }, "gsd": { "metadata": { "exploitCode": "unknown", "remediation": "unknown", "reportConfidence": "confirmed", "type": "vulnerability" }, "osvSchema": { "aliases": [ "CVE-2022-21646" ], "details": "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\u0027s 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\u0027t make use of wildcards on the right side of intersections or within exclusions.", "id": "GSD-2022-21646", "modified": "2023-12-13T01:19:14.336113Z", "schema_version": "1.4.0" } }, "namespaces": { "cve.org": { "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\u0027s 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\u0027t 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" } }, "gitlab.com": { "advisories": [ { "affected_range": "=v1.3.0", "affected_versions": "Version 1.3.0", "cwe_ids": [ "CWE-1035", "CWE-937" ], "date": "2022-01-13", "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\u0027s dispatch, resulting in the `banned` wildcard being ignored in the exclusion. contains a patch for this issue. As a workaround, don\u0027t make use of wildcards on the right side of intersections or within exclusions.", "fixed_versions": [ "v1.4.0" ], "identifier": "CVE-2022-21646", "identifiers": [ "GHSA-7p8f-8hjm-wm92", "CVE-2022-21646" ], "not_impacted": "All versions before 1.3.0, all versions after 1.3.0", "package_slug": "go/github.com/authzed/spicedb", "pubdate": "2022-01-13", "solution": "Upgrade to version 1.4.0 or above.", "title": "Lookup operations do not take into account wildcards in SpiceDB", "urls": [ "https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92", "https://nvd.nist.gov/vuln/detail/CVE-2022-21646", "https://github.com/authzed/spicedb/issues/358", "https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970", "https://github.com/authzed/spicedb/releases/tag/v1.4.0", "https://github.com/advisories/GHSA-7p8f-8hjm-wm92" ], "uuid": "e1d3faeb-8ff0-45a0-a650-3a7eca17e5df", "versions": [ { "commit": { "sha": "10616c73e4dfcebb282372ec8d4d878cf220ec94", "tags": [ "v1.3.0" ], "timestamp": "20211223191136" }, "number": "v1.3.0" }, { "commit": { "sha": "c24a593ac0d4cc212f5118333957baa7457d9485", "tags": [ "v1.4.0" ], "timestamp": "20220111200459" }, "number": "v1.4.0" } ] } ] }, "nvd.nist.gov": { "configurations": { "CVE_data_version": "4.0", "nodes": [ { "children": [], "cpe_match": [ { "cpe23Uri": "cpe:2.3:a:authzed:spicedb:1.3.0:*:*:*:*:*:*:*", "cpe_name": [], "vulnerable": true } ], "operator": "OR" } ] }, "cve": { "CVE_data_meta": { "ASSIGNER": "security-advisories@github.com", "ID": "CVE-2022-21646" }, "data_format": "MITRE", "data_type": "CVE", "data_version": "4.0", "description": { "description_data": [ { "lang": "en", "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\u0027s 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\u0027t make use of wildcards on the right side of intersections or within exclusions." } ] }, "problemtype": { "problemtype_data": [ { "description": [ { "lang": "en", "value": "NVD-CWE-Other" } ] } ] }, "references": { "reference_data": [ { "name": "https://github.com/authzed/spicedb/issues/358", "refsource": "MISC", "tags": [ "Third Party Advisory" ], "url": "https://github.com/authzed/spicedb/issues/358" }, { "name": "https://github.com/authzed/spicedb/releases/tag/v1.4.0", "refsource": "MISC", "tags": [ "Release Notes", "Third Party Advisory" ], "url": "https://github.com/authzed/spicedb/releases/tag/v1.4.0" }, { "name": "https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92", "refsource": "CONFIRM", "tags": [ "Third Party Advisory" ], "url": "https://github.com/authzed/spicedb/security/advisories/GHSA-7p8f-8hjm-wm92" }, { "name": "https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970", "refsource": "MISC", "tags": [ "Patch", "Third Party Advisory" ], "url": "https://github.com/authzed/spicedb/commit/15bba2e2d2a4bda336a37a7fe8ef8a35028cd970" } ] } }, "impact": { "baseMetricV2": { "acInsufInfo": false, "cvssV2": { "accessComplexity": "LOW", "accessVector": "NETWORK", "authentication": "SINGLE", "availabilityImpact": "NONE", "baseScore": 5.5, "confidentialityImpact": "PARTIAL", "integrityImpact": "PARTIAL", "vectorString": "AV:N/AC:L/Au:S/C:P/I:P/A:N", "version": "2.0" }, "exploitabilityScore": 8.0, "impactScore": 4.9, "obtainAllPrivilege": false, "obtainOtherPrivilege": false, "obtainUserPrivilege": false, "severity": "MEDIUM", "userInteractionRequired": false }, "baseMetricV3": { "cvssV3": { "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" }, "exploitabilityScore": 2.8, "impactScore": 5.2 } }, "lastModifiedDate": "2023-07-24T13:54Z", "publishedDate": "2022-01-11T22:15Z" } } }
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…