CVE-2022-39342

Medium

Description

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.

SeverityMedium
CVSS5.9
Exploit probability—
ProductOpenfga
PublishedOct 25, 2022
First seenOct 25, 2022
Weakness typeCWE-285CWE-285

How to fix

Update
  • openfga openfga0.2.4 or later
  • github.com/openfga/openfga0.2.4 or later

Affected products

ProductAffected versionsFixed in
openfga openfgav < 0.2.40.2.4
github.com/openfga/openfgaGov < 0.2.40.2.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.