Vulnerability Details : 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.
Vulnerability category: BypassGain privilege
Products affected by CVE-2022-39342
- cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:*
Exploit prediction scoring system (EPSS) score for CVE-2022-39342
0.02%
Probability of exploitation activity in the next 30 days
EPSS Score History
~ 3 %
Percentile, the proportion of vulnerabilities that are scored at or less
CVSS scores for CVE-2022-39342
Base Score | Base Severity | CVSS Vector | Exploitability Score | Impact Score | Score Source | First Seen |
---|---|---|---|---|---|---|
9.8
|
CRITICAL | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
3.9
|
5.9
|
NIST | |
5.9
|
MEDIUM | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N |
2.2
|
3.6
|
GitHub, Inc. |
CWE ids for CVE-2022-39342
-
The product does not perform or incorrectly performs an authorization check when an actor attempts to access a resource or perform an action.Assigned by: security-advisories@github.com (Secondary)
-
The product performs an authorization check when an actor attempts to access a resource or perform an action, but it does not correctly perform the check.Assigned by: nvd@nist.gov (Primary)
References for CVE-2022-39342
-
https://github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4
Merge pull request from GHSA-f4mm-2r69-mg5f · openfga/openfga@c8db1ee · GitHubPatch;Third Party Advisory
-
https://github.com/openfga/openfga/releases/tag/v0.2.4
Release v0.2.4 · openfga/openfga · GitHubRelease Notes;Third Party Advisory
-
https://github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f
OpenFGA Authorization Bypass · Advisory · openfga/openfga · GitHubThird Party Advisory
Jump to