CVE-2022-39352 OpenFGA Authorization Bypass

Medium 4.8 Published Updated
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.

PackageAffectedFixed in
github.com/openfga/openfga GoAll versions0.2.5
github.com/openfga/openfga GoAll versions0.2.5
github.com/openfga/openfga GoAll versions0.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.

Sources

Also known as GHSA-3gfj-fxx4-f22w, GO-2022-1099.

Is CVE-2022-39352 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free