CVE-2023-43645
mediumpriority · track · 24EPSS 0.009 · 61 %ileEUUSEPSS · scored 2026-10-27
OpenFGA is an authorization/permission engine built for developers and inspired by Google Zanzibar. OpenFGA is vulnerable to a denial of service attack when certain Check calls are executed against authorization models that contain circular relationship definitions. When the call is made, it's possible for the server to exhaust resources and die. Users are advised to upgrade to v1.3.2 and update any offending models. There are no known workarounds for this vulnerability. Note that for models which contained cycles or a relation definition that has the relation itself in its evaluation path, checks and queries that require evaluation will no longer be evaluated on v1.3.2+ and will return errors instead. Users who do not have cyclic models are unaffected.
cvss
Technical severity, 0–10. One row per scoring source.
base score 0–10 · higher = more severe · hover a vector to decode
ssvc
A stakeholder decision — act, attend, or track — from exploitation and impact.
weaknesses
The CWE weakness classes this flaw belongs to.
affected products (3)
Products and version ranges known to be affected.
advisories (2)
Vendor and ecosystem advisories describing this.
- GHSA-2hm9-h873-pgqhOpenFGA Vulnerable to DoS from circular relationship definitions2023-09-28ghsa · osvUS
## Overview OpenFGA is vulnerable to a DoS attack when certain Check calls are executed against authorization models that contain circular relationship definitions. When the call is made, it's possible for the server to exhaust resources and die. ## Am I Affected? Yes, if your store contains an authorization model that allows circular relationships. For example, with this model: ``` model schema 1.1 type user type group relations define memberA: [user] or memberB or memberC or memberD or memberE define memberB: [user] or memberA or memberC or memberD or memberE define memberC: [user] or memberA or memberB or memberD or memberE define memberD: [user] or memberA or memberB or memberC or memberE define memberE: [user] or memberA or memberB or memberC or memberD ``` This Check: `(user:anne, memberA, group:X)` can exhaust memory in the server. ## Fix Upgrade to v1.3.2 and update any offending models. **[BREAKING]** If your model contained cycles or a relation definition that has the relation itself in its evaluation path, then Checks and queries that require evaluation will no longer be evaluated on v1.3.2+ and will return errors instead. You will need to update your models to remove the cycles.
- GO-2023-2084OpenFGA Vulnerable to DoS from circular relationship definitions in github.com/openfga/openfga2024-08-21vendor · osvUS
OpenFGA Vulnerable to DoS from circular relationship definitions in github.com/openfga/openfga
also known as (5)
Other names and identifiers for this entity.
sources
Which sources assert this record, and when.
references (7)
External citations — patches, advisories, analysis.
- https://cxsecurity.com/cveshow/CVE-2023-43645/cnnvd
- https://github.com/openfga/openfga/commit/725296025fd81227c89525808652c6acd4a605f6cnnvd
- https://github.com/openfga/openfga/security/advisories/GHSA-2hm9-h873-pgqhcnnvd
- https://github.com/openfga/openfga/commit/725296025fd81227c89525808652c6acd4a605f6enisa_euvd
- https://github.com/openfga/openfga/security/advisories/GHSA-2hm9-h873-pgqhenisa_euvd
- https://github.com/openfga/openfga/commit/725296025fd81227c89525808652c6acd4a605f6Patchnvd
- https://github.com/openfga/openfga/security/advisories/GHSA-2hm9-h873-pgqhVendor Advisorynvd
Attackers weaponise vulnerabilities like this against internet-exposed services. See what is exposed on your perimeter with a free passive scan.
Free scan