Auth bypass in Openfga
CVE-2022-39352
OpenFGA is a high-performance authorization/permission engine inspired by Google Zanzibar. Versions prior to 0.2.5 are vulnerable to authorization bypass under certain conditions. You are affected by this vulnerability if you added a tuple with a wildcard (*) assigned to a tupleset relation (the right hand side of a ‘from’ statement). This issue has been patched in version v0.2.5. This update is not backward compatible with any authorization model that uses wildcard on a tupleset relation.
Vulnerability class: Broken Access Control
Published · last modified .
CVSS v3 metric
CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.
EPSS exploit prediction
EPSS 0.005, 43.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openfga — versions < 0.2.5
Weakness classification (CWE)
References
- github.com/openfga/openfga/security/advisories/GHSA-3gfj-fxx4-f22w (Third Party Advisory)