Auth bypass in Openfga
CVE-2022-39342
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.9 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N.
EPSS exploit prediction
EPSS: 0.009 (59.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 59th percentile — 59.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.009 · newest: 0.009 · change: 0.000
Affected products
- Openfga — versions < 0.2.4
Weakness classification (CWE)
References
- github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f (Third Party Advisory)
- github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4 (Patch, Third Party Advisory)
- github.com/openfga/openfga/releases/tag/v0.2.4 (Third Party Advisory, Release Notes)
Frequently asked questions
- What is CVE-2022-39342?
- CVE-2022-39342 is a medium-severity vulnerability in Openfga, classified under Improper Authorization. CVSS score: 5.9/10. Published 2022-10-25.
- How severe is CVE-2022-39342?
- Medium severity. CVSS v3 base score is 5.9 out of 10.