Vulnerability · Published Jun 26, 2023 · Assigned by GitHub_M
CVE-2023-35933OpenFGA denial of service die to circular relationship
Medium 5.9
In plain English
A medium-severity infinite loop in openfga from openfga. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 1.1% (higher than 67% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
OPenFGA is an open source authorization/permission engine built for developers. OpenFGA versions v1.1.0 and prior are vulnerable to a DoS attack when Check and ListObjects calls are executed against authorization models that contain circular relationship definitions. Users are affected by this vulnerability if they are using OpenFGA v1.1.0 or earlier, and if you are executing `Check` or `ListObjects` calls against a vulnerable authorization model. Users are advised to upgrade to version 1.1.1. There are no known workarounds for this vulnerability. Users that do not have circular relationships in their models are not affected.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Go | github.com/openfga/openfga | 1.1.1 | GHSA-hr9r-8phq-5x8j |
| Go | github.com/openfga/openfga | 1.1.1 | GO-2023-1872 |
Affected products (as reported)
Weakness: CWE-835 · Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
References
- https://github.com/openfga/openfga/security/advisories/GHSA-hr9r-8phq-5x8j x_refsource_CONFIRM
- https://github.com/openfga/openfga/commit/087ce392595f3c319ab3028b5089118ea4063452 x_refsource_MISC
- https://openfga.dev/api/service#/Relationship%20Queries/Check x_refsource_MISC
- https://openfga.dev/api/service#/Relationship%20Queries/ListObjects x_refsource_MISC