GHSA-3f6g-m4hr-59h8

Suggest an improvement
Source
https://github.com/advisories/GHSA-3f6g-m4hr-59h8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2024/08/GHSA-3f6g-m4hr-59h8/GHSA-3f6g-m4hr-59h8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-3f6g-m4hr-59h8
Aliases
Published
2024-08-09T21:23:26Z
Modified
2024-08-14T17:18:24Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
  • 8.2 (High) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N CVSS Calculator
Summary
OpenFGA Authorization Bypass
Details

Overview

OpenFGA v1.5.7 and v1.5.8 are vulnerable to authorization bypass when calling Check API with a model that uses but not and from expressions and a userset.

Fix

  • If you are using OpenFGA within Docker or as a Go library, as a binary, or through Docker, upgrade to v1.5.9 as soon as possible
  • If using Helm chart, upgrade to 0.2.12 as soon as possible.

This fix is backward compatible.

Database specific
{
    "nvd_published_at": "2024-08-12T13:38:35Z",
    "cwe_ids": [
        "CWE-285",
        "CWE-863"
    ],
    "severity": "HIGH",
    "github_reviewed": true,
    "github_reviewed_at": "2024-08-09T21:23:26Z"
}
References

Affected packages

Go / github.com/openfga/openfga

Package

Name
github.com/openfga/openfga
View open source insights on deps.dev
Purl
pkg:golang/github.com/openfga/openfga

Affected ranges

Type
SEMVER
Events
Introduced
1.5.7
Fixed
1.5.9