PT-2024-4350 · Spicedb · Spicedb

Josephschorr

·

Published

2024-06-20

·

Updated

2024-06-28

·

CVE-2024-38361

CVSS v4.0

6.3

Medium

VectorAV:N/AC:H/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N
Name of the Vulnerable Software and Affected Versions SpiceDB versions prior to 1.33.1
Description The issue is related to incorrect permission handling in SpiceDB, which can lead to a situation where a user is reported as not having access to a resource when they actually do. This occurs when an exclusion is used under an arrow with multiple resources, resulting in NO PERMISSION being returned when PERMISSION is expected. The problem arises when a resource exists under multiple folders and the user has access to view more than one folder, causing SpiceDB to fail in requesting all folders where the user is a member. This issue affects the CheckPermission API.
Recommendations For versions prior to 1.33.1, upgrade to version 1.33.1 to resolve the issue. As a temporary workaround, consider restricting access to the CheckPermission API until the upgrade is applied. Avoid using exclusions under arrows with multiple resources in the permission schema until the issue is resolved.

Exploit

Fix

Improper Preservation of Permissions

Found an issue in the description? Have something to add? Feel free to write us 👾

Weakness Enumeration

Related Identifiers

BDU:2024-04839
CVE-2024-38361
GHSA-GRJV-GJGR-66G2
GO-2024-2939

Affected Products

Spicedb