CVE-2023-35933 OpenFGA denial of service die to circular relationship
Attackers can cause denial of service in OpenFGA by triggering circular relationship definitions in authorization models during Check or ListObjects calls.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-35933?
CVE-2023-35933 is a medium-severity denial of service vulnerability in openfga, published on 26 Jun 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
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.
Weakness: CWE-835
Which versions are affected by CVE-2023-35933?
3 open source packages ship an affected version, including github.com/openfga/openfga. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
github.com/openfga/openfga Go | All versions | 1.1.1 |
github.com/openfga/openfga Go | All versions | 1.1.1 |
github.com/openfga/openfga Go | All versions | 1.1.1 |
Products include Openfga Openfga.
How do I fix CVE-2023-35933?
Upgrade github.com/openfga/openfga to 1.1.1 or later.
Upgrade, then put limits on request size, rate and nesting depth so one client cannot exhaust the service. More about Denial of service.
Is CVE-2023-35933 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-35933 exists.
Other vulnerabilities in openfga
Sources
Also known as GHSA-hr9r-8phq-5x8j, GO-2023-1872.