OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 are vulnerable to authorization bypass under certain conditions. Users whose model has a relation defined as a tupleset (the right hand side of a ‘from’ statement) that involves anything other than a direct relationship (e.g. ‘as self’) are vulnerable. Version 0.2.4 contains a patch for this issue.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-285"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/39xxx/CVE-2022-39342.json"
}{
"extracted_events": [
{
"cpe": "cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "0.2.4"
}
],
"source": "CPE_RANGE"
},
{
"range": [
{
"fixed": "c8db1ee3d2a366f18e585dd33236340e76e784c4"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "v0.2.4",
"range": [
{
"fixed": "713c4808209dedee9bd2cfda1558c0ad0c71d5bb"
}
],
"source": "REFERENCES_TAG"
}
]
}