CVE-2022-39352 OpenFGA Authorization Bypass
- Exploited in the wild
- Not known
- Fix
- Available
What is CVE-2022-39352?
CVE-2022-39352 is a medium-severity vulnerability in openfga, published on 8 Nov 2022.
Official description
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.
Weakness: CWE-863
Which versions are affected by CVE-2022-39352?
3 open source packages ship an affected version, including github.com/openfga/openfga. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/openfga/openfga Go | All versions | 0.2.5 |
github.com/openfga/openfga Go | All versions | 0.2.5 |
github.com/openfga/openfga Go | All versions | 0.2.5 |
Products include Openfga Openfga.
How do I fix CVE-2022-39352?
Upgrade github.com/openfga/openfga to 0.2.5 or later.
Is CVE-2022-39352 being exploited?
There is no known exploitation of CVE-2022-39352 in the wild and no public exploit code.
Other vulnerabilities in openfga
Sources
Also known as GHSA-3gfj-fxx4-f22w, GO-2022-1099.