~ / search / GHSA-vj4m-83m8-xpw5

GHSA-vj4m-83m8-xpw5

OpenFGA Authorization Bypass via tupleset wildcard

Source: GitHub Advisory Database (reviewed) Moderate CVE-2022-39341

Packages

EcosystemPackageAffectedFixed in
Go github.com/openfga/openfga < 0.2.4 0.2.4

Details

As written in the advisory (Markdown source, shown as plain text).

### Overview During our internal security assessment, it was discovered that OpenFGA versions `v0.2.3` and prior are vulnerable to authorization bypass under certain conditions. ### Am I affected? You are affected by this vulnerability if you are using `openfga/openfga` version `v0.2.3` and you added a tuple with a wildcard (*) assigned to a tupleset relation (the right hand side of a ‘from’ statement). ### How to fix that? Upgrade to version `v0.2.4`. ### Backward Compatibility This update is not backward compatible with any authorization model that uses wildcard on a tupleset relation.

References

External links from the advisory. They lead to third-party sites.