PT-2022-24921 · Openfga · Openfga
Samyghannad
·
Published
2022-11-08
·
Updated
2024-08-21
·
CVE-2022-39352
CVSS v3.1
4.8
Medium
| Vector | AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions
OpenFGA versions prior to 0.2.5
Description
OpenFGA is a high-performance authorization/permission engine inspired by Google Zanzibar. The issue allows for authorization bypass under certain conditions, specifically when a tuple with a wildcard (*) is assigned to a tupleset relation, which is the right-hand side of a 'from' statement. This affects authorization models that use wildcard on a tupleset relation.
Recommendations
Upgrade to version 0.2.5, noting that this update is not backward compatible with any authorization model that uses wildcard on a tupleset relation. If using tuples where the
user field is set to a userset and the tuple's relation is used on the right-hand side of a from statement, these tuples will need to be rewritten.Exploit
Fix
Incorrect Authorization
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Openfga