5.8Medium

CVE-2024-56323OpenFGA Authorization Bypass

openfga openfga Published: (1 year ago)

Description

OpenFGA is an authorization/permission engine. IN OpenFGA v1.3.8 to v1.8.2 (Helm chart openfga-0.1.38 to openfga-0.2.19, docker v1.3.8 to v.1.8.2) are vulnerable to authorization bypass under the following conditions: 1. calling Check API or ListObjects with a model that uses [conditions](https://openfga.dev/docs/modeling/conditions), and 2. calling Check API or ListObjects API with [contextual tuples](https://openfga.dev/docs/concepts#what-are-contextual-tuples) that include conditions and 3. OpenFGA is configured with caching enabled (`OPENFGA_CHECK_QUERY_CACHE_ENABLED`). Users are advised to upgrade to v1.8.3. There are no known workarounds for this vulnerability.

Weakness (CWE): CWE-285

Data: CVE.org, NVD, CISA KEV, FIRST EPSS, Ubuntu. Published as the sources state it, in English.

Affected products and versions

VendorProductVersions
openfga helm charts 0.1.38 – < 0.2.19
openfga openfga >=1.3.8, <1.8.3

References and patches

CPE matches (NVD) (2)

  • cpe:2.3:a:openfga:helm_charts:*:*:*:*:*:*:*:* ≥ 0.1.38 < 0.2.19
  • cpe:2.3:a:openfga:openfga:*:*:*:*:*:*:*:* ≥ 1.3.8 < 1.8.3