github.com/openfga/openfga
Affected
- introduced
0, fixed0.2.4(semver)
Fixed versions
0.2.4
Fix
- Fixed version
0.2.4go get github.com/openfga/[email protected]
Advisory
Also known as: CVE-2022-39341, GO-2022-1080
OpenFGA Authorization Bypass via tupleset wildcard
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.
Medium Basis: The source's own band: MODERATE
0, fixed 0.2.4 (semver)0.2.4
0.2.4go get github.com/openfga/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0