CVE-2024-56323
OpenFGA Authorization Bypass
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD. Rated lower by GHSA (medium).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| chainguard | grafana-11.3, grafana-11.4, grafana-11.5 and 2 more | 11.3.9-r5 and 2 more |
| go::GitHub Security Advisory Go | github.com/openfga/openfga | 1.8.3 |
| minimos | grafana-11.4, grafana-11.5 | 11.4.3-r0 and 1 more |
Show all 8 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| chainguard | grafana-11.3 | 11.3.9-r5 |
| chainguard | grafana-11.4 | 11.4.8-r2 |
| chainguard | grafana-11.5 | 11.5.0-r1 |
| chainguard | grafana-fips-11.4 | 11.4.8-r2 |
| chainguard | grafana-fips-11.5 | 11.5.0-r1 |
| go::GitHub Security Advisory Go | github.com/openfga/openfga | 1.8.3 |
| minimos | grafana-11.4 | 11.4.3-r0 |
| minimos | grafana-11.5 | 11.5.3-r0 |