Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/openfga/openfga
  4. ›
  5. CVE-2022-39342

CVE-2022-39342: Incorrect Authorization

October 25, 2022

OpenFGA is an authorization/permission engine. Versions prior to version 0.2.4 is 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’) is vulnerable. Version 0.2.4 contains a patch for this issue.

References

  • github.com/advisories/GHSA-f4mm-2r69-mg5f
  • github.com/openfga/openfga/commit/c8db1ee3d2a366f18e585dd33236340e76e784c4
  • github.com/openfga/openfga/releases/tag/v0.2.4
  • github.com/openfga/openfga/security/advisories/GHSA-f4mm-2r69-mg5f
  • nvd.nist.gov/vuln/detail/CVE-2022-39342

Code Behaviors & Features

Detect and mitigate CVE-2022-39342 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions up to 0.2.3

Fixed versions

  • v0.2.4

Solution

Upgrade to version 0.2.4 or above.

Impact 9.8 CRITICAL

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-863: Incorrect Authorization

Source file

go/github.com/openfga/openfga/CVE-2022-39342.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 14 May 2025 12:14:43 +0000.