{
    "dataType": "CVE_RECORD",
    "dataVersion": "5.1",
    "cveMetadata": {
        "cveId": "CVE-2023-35930",
        "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "state": "PUBLISHED",
        "assignerShortName": "GitHub_M",
        "dateReserved": "2023-06-20T14:02:45.593Z",
        "datePublished": "2023-06-26T19:32:59.829Z",
        "dateUpdated": "2024-08-02T16:37:41.191Z"
    },
    "containers": {
        "cna": {
            "title": "LookupResources may return partial results in spicedb",
            "problemTypes": [
                {
                    "descriptions": [
                        {
                            "cweId": "CWE-913",
                            "lang": "en",
                            "description": "CWE-913: Improper Control of Dynamically-Managed Code Resources",
                            "type": "CWE"
                        }
                    ]
                }
            ],
            "metrics": [
                {
                    "cvssV3_1": {
                        "attackComplexity": "HIGH",
                        "attackVector": "NETWORK",
                        "availabilityImpact": "NONE",
                        "baseScore": 3.7,
                        "baseSeverity": "LOW",
                        "confidentialityImpact": "NONE",
                        "integrityImpact": "LOW",
                        "privilegesRequired": "NONE",
                        "scope": "UNCHANGED",
                        "userInteraction": "NONE",
                        "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
                        "version": "3.1"
                    }
                }
            ],
            "references": [
                {
                    "name": "https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r",
                    "tags": [
                        "x_refsource_CONFIRM"
                    ],
                    "url": "https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r"
                },
                {
                    "name": "https://github.com/authzed/spicedb/pull/1397",
                    "tags": [
                        "x_refsource_MISC"
                    ],
                    "url": "https://github.com/authzed/spicedb/pull/1397"
                }
            ],
            "affected": [
                {
                    "vendor": "authzed",
                    "product": "spicedb",
                    "versions": [
                        {
                            "version": "= 1.22.0",
                            "status": "affected"
                        }
                    ]
                }
            ],
            "providerMetadata": {
                "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
                "shortName": "GitHub_M",
                "dateUpdated": "2023-06-26T19:32:59.829Z"
            },
            "descriptions": [
                {
                    "lang": "en",
                    "value": "SpiceDB is an open source, Google Zanzibar-inspired, database system for creating and managing security-critical application permissions. Any user making a negative authorization decision based on the results of a `LookupResources` request with 1.22.0 is affected. For example, using `LookupResources` to find a list of resources to allow access to be okay: some subjects that should have access to a resource may not. But if using `LookupResources` to find a list of banned resources instead, then some users that shouldn't have access may. Generally, `LookupResources` is not and should not be to gate access in this way - that's what the `Check` API is for. Additionally, version 1.22.0 has included a warning about this bug since its initial release. Users are advised to upgrade to version 1.22.2. Users unable to upgrade should avoid using `LookupResources` for negative authorization decisions."
                }
            ],
            "source": {
                "advisory": "GHSA-m54h-5x5f-5m6r",
                "discovery": "UNKNOWN"
            }
        },
        "adp": [
            {
                "providerMetadata": {
                    "orgId": "af854a3a-2127-422b-91ae-364da2661108",
                    "shortName": "CVE",
                    "dateUpdated": "2024-08-02T16:37:41.191Z"
                },
                "title": "CVE Program Container",
                "references": [
                    {
                        "name": "https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r",
                        "tags": [
                            "x_refsource_CONFIRM",
                            "x_transferred"
                        ],
                        "url": "https://github.com/authzed/spicedb/security/advisories/GHSA-m54h-5x5f-5m6r"
                    },
                    {
                        "name": "https://github.com/authzed/spicedb/pull/1397",
                        "tags": [
                            "x_refsource_MISC",
                            "x_transferred"
                        ],
                        "url": "https://github.com/authzed/spicedb/pull/1397"
                    }
                ]
            }
        ]
    }
}