タイムアウト/キャンセル時の誤った認可結果の修正
high2026-11-23 リリース後にセキュリティアドバイザリGHSA-637h-v79h-mvqfが公開
リクエストがタイムアウトまたはキャンセルされた際、Check、BatchCheck、および指定された ListObjects API が誤った認可結果を返すことがありました。キャンセルされた Check は、後続のリクエストで再利用される誤った結果をキャッシュすることもありました。
原文を表示
In OpenFGA, the Check or BatchCheck APIs, as well as ListObjects or StreamedListObjects with `--listObjects-pipeline-enabled=false`, could return incorrect results. 1. Your application uses Check, BatchCheck, or ListObjects/StreamedListObjects with `--listObjects-pipeline-enabled=false` to enforce access, and 2. The authorization model contains a relation that (directly or through other relations) uses `and`, `or` or `but not`, and - A request reaches its server-side deadline (`--request-timeout`, or `--listObjects-deadline` for ListObjects) before evaluation finishes. That request could return an incorrect result. - Check query caching is enabled (`--check-query-cache-enabled`) and a Check is cancelled before it finishes due to a client cancellation, a deadline, or OpenFGA cancelling a branch once another branch has settled the result. The check could cache an incorrect result that later requests reuse.github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf
Upgrade to OpenFGA v1.23.0 or greater.github.com/openfga/openfga/security/advisories/GHSA-637h-v79h-mvqf