github.com/openfga/openfga
Affected
- introduced
0.3.0, fixed0.3.1(semver)
Fixed versions
0.3.1
Fix
- Fixed version
0.3.1go get github.com/openfga/[email protected]
Advisory
Also known as: CVE-2022-23542, GO-2022-1179
OpenFGA Authorization Bypass
Overview
During our internal security assessment, it was discovered that OpenFGA versions v0.3.0 is vulnerable to authorization bypass under certain conditions.
Am I Affected?
You are affected by this vulnerability if all of the following applies:
define viewer: [user]document:1#viewer@user:jondefine viewer: [employee]user=user:jon, relation=viewer, object:document:1How to fix that?
Upgrade to version v0.3.1
Backward Compatibility
This update is backward compatible.
High Basis: The source's own band: HIGH
0.3.0, fixed 0.3.1 (semver)0.3.1
0.3.1go 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