CVE-2024-23820 OpenFGA DoS
Attackers can cause OpenFGA server crashes via memory exhaustion in ListObjects calls, requiring a patch to restore service availability.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2024-23820?
CVE-2024-23820 is a medium-severity denial of service vulnerability in openfga, published on 26 Jan 2024. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
OpenFGA, an authorization/permission engine, is vulnerable to a denial of service attack in versions prior to 1.4.3. In some scenarios that depend on the model and tuples used, a call to `ListObjects` may not release memory properly. So when a sufficiently high number of those calls are executed, the OpenFGA server can create an `out of memory` error and terminate. Version 1.4.3 contains a patch for this issue.
Which versions are affected by CVE-2024-23820?
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.4.3 |
github.com/openfga/openfga Go | All versions | 1.4.3 |
github.com/openfga/openfga Go | All versions | 1.4.3 |
Products include Openfga Openfga.
How do I fix CVE-2024-23820?
Upgrade github.com/openfga/openfga to 1.4.3 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-2024-23820 being exploited?
There is no known exploitation of CVE-2024-23820 in the wild and no public exploit code.
Other vulnerabilities in openfga
Sources
Also known as GHSA-rxpw-85vw-fx87, GO-2024-2477.