ghsa-3gfj-fxx4-f22w
Vulnerability from github
Published
2022-11-08 22:31
Modified
2022-11-10 14:32
Severity ?
VLAI Severity ?
Summary
OpenFGA Authorization Bypass
Details
Overview
During our internal security assessment, it was discovered that OpenFGA versions v0.2.4 and prior are vulnerable to authorization bypass under certain conditions.
Am I Affected?
You are affected by this vulnerability if you are using openfga/openfga
version v0.2.4 or prior, and have tuples where the user
field is set to a userset
e.g. folder:test#owner
, and the tuple's relation is used on the right-hand side of a from
statement.
How to fix that?
Upgrade to version 0.2.5.
Backward Compatibility
This update is not backward compatible.
Any tuples where the user
field is set to a userset
, and the tuple's relation is used on the right-hand side of a from
statement have to be rewritten.
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 0.2.4" }, "package": { "ecosystem": "Go", "name": "github.com/openfga/openfga" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.2.5" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-39352" ], "database_specific": { "cwe_ids": [ "CWE-863" ], "github_reviewed": true, "github_reviewed_at": "2022-11-08T22:31:25Z", "nvd_published_at": "2022-11-08T08:15:00Z", "severity": "MODERATE" }, "details": "### Overview\nDuring our internal security assessment, it was discovered that OpenFGA versions v0.2.4 and prior are vulnerable to authorization bypass under certain conditions.\n\n### Am I Affected?\nYou are affected by this vulnerability if you are using `openfga/openfga` version v0.2.4 or prior, and have tuples where the `user` field is set to a `userset` e.g. `folder:test#owner`, and the tuple\u0027s relation is used on the right-hand side of a `from` statement.\n\n### How to fix that?\nUpgrade to version 0.2.5.\n\n### Backward Compatibility\nThis update is not backward compatible.\nAny tuples where the `user` field is set to a `userset`, and the tuple\u0027s relation is used on the right-hand side of a `from` statement have to be rewritten.", "id": "GHSA-3gfj-fxx4-f22w", "modified": "2022-11-10T14:32:09Z", "published": "2022-11-08T22:31:25Z", "references": [ { "type": "WEB", "url": "https://github.com/openfga/openfga/security/advisories/GHSA-3gfj-fxx4-f22w" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39352" }, { "type": "WEB", "url": "https://github.com/openfga/openfga/commit/776e80505e8d184b2286acc8268d8d74f36a9984" }, { "type": "PACKAGE", "url": "https://github.com/openfga/openfga" }, { "type": "WEB", "url": "https://github.com/openfga/openfga/releases/tag/v0.2.5" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N", "type": "CVSS_V3" } ], "summary": "OpenFGA Authorization Bypass" }
Loading…
Loading…
Sightings
Author | Source | Type | Date |
---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…