ghsa-vj4m-83m8-xpw5
Vulnerability from github
Published
2022-10-25 20:21
Modified
2023-06-27 21:55
Severity ?
VLAI Severity ?
Summary
OpenFGA Authorization Bypass via tupleset wildcard
Details
Overview
During our internal security assessment, it was discovered that OpenFGA versions v0.2.3
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.3
and you added a tuple with a wildcard (*) assigned to a tupleset relation (the right hand side of a ‘from’ statement).
How to fix that?
Upgrade to version v0.2.4
.
Backward Compatibility
This update is not backward compatible with any authorization model that uses wildcard on a tupleset relation.
{ "affected": [ { "database_specific": { "last_known_affected_version_range": "\u003c= 0.2.3" }, "package": { "ecosystem": "Go", "name": "github.com/openfga/openfga" }, "ranges": [ { "events": [ { "introduced": "0" }, { "fixed": "0.2.4" } ], "type": "ECOSYSTEM" } ] } ], "aliases": [ "CVE-2022-39341" ], "database_specific": { "cwe_ids": [ "CWE-285", "CWE-863" ], "github_reviewed": true, "github_reviewed_at": "2022-10-25T20:21:45Z", "nvd_published_at": "2022-10-25T17:15:00Z", "severity": "MODERATE" }, "details": "### Overview\nDuring our internal security assessment, it was discovered that OpenFGA versions `v0.2.3` 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.3` and you added a tuple with a wildcard (*) assigned to a tupleset relation (the right hand side of a \u2018from\u2019 statement).\n\n### How to fix that?\nUpgrade to version `v0.2.4`.\n\n### Backward Compatibility\nThis update is not backward compatible with any authorization model that uses wildcard on a tupleset relation.\n\n", "id": "GHSA-vj4m-83m8-xpw5", "modified": "2023-06-27T21:55:53Z", "published": "2022-10-25T20:21:45Z", "references": [ { "type": "WEB", "url": "https://github.com/openfga/openfga/security/advisories/GHSA-vj4m-83m8-xpw5" }, { "type": "ADVISORY", "url": "https://nvd.nist.gov/vuln/detail/CVE-2022-39341" }, { "type": "WEB", "url": "https://github.com/openfga/openfga/commit/b466769cc100b2065047786578718d313f52695b" }, { "type": "PACKAGE", "url": "https://github.com/openfga/openfga" }, { "type": "WEB", "url": "https://github.com/openfga/openfga/releases/tag/v0.2.4" } ], "schema_version": "1.4.0", "severity": [ { "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N", "type": "CVSS_V3" } ], "summary": "OpenFGA Authorization Bypass via tupleset wildcard" }
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…