Overview
OpenFGA is vulnerable to a DoS attack. 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.
Fix
Upgrade to v1.4.3. This upgrade is backwards compatible.
References:- https://github.com/openfga/openfga/security/advisories/GHSA-rxpw-85vw-fx87
- https://nvd.nist.gov/vuln/detail/CVE-2024-23820
- https://github.com/openfga/openfga/commit/908ac85c8b7769c8042cca31886df8db01976c39
- https://github.com/openfga/openfga/releases/tag/v1.4.3
- https://github.com/advisories/GHSA-rxpw-85vw-fx87