CVE-2022-39342
Description
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.
How to fix
- openfga openfga0.2.4 or later
- github.com/openfga/openfga0.2.4 or later
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| openfga openfga | v < 0.2.4 | 0.2.4 |
| github.com/openfga/openfgaGo | v < 0.2.4 | 0.2.4 |
Check your version
Choose the product and enter the version you run to see whether it falls in the affected range.
Attack Surface Management
See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.