Vulnerability · Published Sep 18, 2024 · Assigned by GitHub_M

CVE-2024-46989Multiple caveats on resources of the same type can result in no permission when permission is expected

Low 3.7

In plain English

A low-severity privilege mismanagement in spicedb from authzed. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 22% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.

Severity (CVSS 3.1)3.7Low
Exploit odds (30 days)0.3%top 78.3% of all CVEs
Exploited in the wildNo reportsCISA SSVC: none
Attack toolingNoneno public tooling known

Official description

spicedb is an Open Source, Google Zanzibar-inspired permissions database to enable fine-grained authorization for customer applications. Multiple caveats over the same indirect subject type on the same relation can result in no permission being returned when permission is expected. If the resource has multiple groups, and each group is caveated, it is possible for the returned permission to be "no permission" when permission is expected. Permission is returned as NO_PERMISSION when PERMISSION is expected on the CheckPermission API. This issue has been addressed in release version 1.35.3. Users are advised to upgrade. Users unable to upgrade should not use caveats or avoid the use of caveats on an indirect subject type with multiple entries.

Affected packages & fixed versions

EcosystemPackageFixed inAdvisory
Gogithub.com/authzed/spicedb1.35.3GHSA-jhg6-6qrx-38mr
Gogithub.com/authzed/spicedb1.35.3GO-2024-3131

Affected products (as reported)

VendorProductVersions
authzed spicedb < 1.35.3

Weakness: CWE-269 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

References