From 6c304c499707e7bf09bf76c0a333577e15d0547c Mon Sep 17 00:00:00 2001 From: "advisory-database[bot]" <45398580+advisory-database[bot]@users.noreply.github.com> Date: Wed, 30 Apr 2025 16:45:11 +0000 Subject: [PATCH] Publish GHSA-w222-m46c-mgh6 --- .../GHSA-w222-m46c-mgh6.json | 61 +++++++++++++++++++ 1 file changed, 61 insertions(+) create mode 100644 advisories/github-reviewed/2025/04/GHSA-w222-m46c-mgh6/GHSA-w222-m46c-mgh6.json diff --git a/advisories/github-reviewed/2025/04/GHSA-w222-m46c-mgh6/GHSA-w222-m46c-mgh6.json b/advisories/github-reviewed/2025/04/GHSA-w222-m46c-mgh6/GHSA-w222-m46c-mgh6.json new file mode 100644 index 00000000000..00eb9a22564 --- /dev/null +++ b/advisories/github-reviewed/2025/04/GHSA-w222-m46c-mgh6/GHSA-w222-m46c-mgh6.json @@ -0,0 +1,61 @@ +{ + "schema_version": "1.4.0", + "id": "GHSA-w222-m46c-mgh6", + "modified": "2025-04-30T16:43:33Z", + "published": "2025-04-30T16:43:33Z", + "aliases": [ + "CVE-2025-46331" + ], + "summary": "OpenFGA Authorization Bypass", + "details": "Overview\nOpenFGA v1.8.10 or previous (Helm chart <= openfga-0.2.28, docker <= v.1.8.10) are vulnerable to authorization bypass when certain Check and ListObject calls are executed.\n\nAm I Affected?\nIf you are using OpenFGA v1.8.10 or previous, specifically under the following conditions, you are affected by this authorization bypass vulnerability:\n- Calling Check API or ListObjects with an [authorization model](https://openfga.dev/docs/concepts#what-is-an-authorization-model) that has tuple cycle.\n- [Check query cache](https://github.com/openfga/openfga/blob/9b5974458b777707ed2a30ba6303699499e655ee/.config-schema.json#L528) is enabled, and\n- There are multiple check / list objects requests involving the tuple cycle within the check query TTL\n\nFix\nUpgrade to v1.8.11. This upgrade is backwards compatible.", + "severity": [ + { + "type": "CVSS_V4", + "score": "CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H" + } + ], + "affected": [ + { + "package": { + "ecosystem": "Go", + "name": "github.com/openfga/openfga" + }, + "ranges": [ + { + "type": "ECOSYSTEM", + "events": [ + { + "introduced": "1.3.6" + }, + { + "fixed": "1.8.11" + } + ] + } + ] + } + ], + "references": [ + { + "type": "WEB", + "url": "https://github.com/openfga/openfga/security/advisories/GHSA-w222-m46c-mgh6" + }, + { + "type": "WEB", + "url": "https://github.com/openfga/openfga/commit/244302e7a8b979d66cc1874a3899cdff7d47862f" + }, + { + "type": "PACKAGE", + "url": "https://github.com/openfga/openfga" + } + ], + "database_specific": { + "cwe_ids": [ + "CWE-863" + ], + "severity": "MODERATE", + "github_reviewed": true, + "github_reviewed_at": "2025-04-30T16:43:33Z", + "nvd_published_at": null + } +} \ No newline at end of file