Auth bypass in Openfga
CVE-2022-39342
OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 are vulnerable to authorization bypass under certain conditions. Users whose model has a relation defined as a tupleset (the right hand side of a ‘from’ statement) that involves anything other than a direct relationship (e.g. ‘as self’) are vulnerable. Version 0.2.4 contains a patch for this issue.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS 0.012, 67.9th percentile (scored ); unchanged over 30 days. About EPSS.
Affected products
- Openfga — versions < 0.2.4
Weakness classification (CWE)
References
- github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f (Third Party Advisory)
- github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4 (Patch, Third Party Advisory)
- github.com/openfga/openfga/releases/tag/v0.2.4 (Third Party Advisory, Release Notes)