OpenFGAにタイムアウト時に不正な認可結果を返す脆弱性、修正版は1.23.0
Summary
OpenFGAの1.10.3から1.23.0未満では、サーバー側の期限切れなどで評価が終わらないと、Check系などの要求で誤った認可結果が返されるおそれがあります。キャッシュを有効にしている環境では、その誤った結果が後続の要求に使い回されることもあります。修正版の1.23.0に更新してください。CVSS v4.0は7.1で、深刻度は高とされています。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
OpenFGAの1.10.3から1.23.0未満では、サーバー側の期限切れなどで評価が終わらないと、Check系などの要求で誤った認可結果が返されるおそれがあります。キャッシュを有効にしている環境では、その誤った結果が後続の要求に使い回されることもあります。修正版の1.23.0に更新してください。CVSS v4.0は7.1で、深刻度は高とされています。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| openfgaopenfga | — | Not listed |
| Gogithub.com/openfga/openfga |
< 1.23.0→ 1.23.0 |
1.23.0 |
Original description The description as published by the source.
OpenFGA is an authorization and permission engine built for developers. From 1.10.3 until 1.23.0, Check and BatchCheck requests, and ListObjects and StreamedListObjects requests when --listObjects-pipeline-enabled=false, can return incorrect authorization results when the model uses relations that directly or indirectly include and, or, or but not and a server-side deadline expires before evaluation finishes. When the authorization model contains such a relation and --check-query-cache-enabled is set, cancellation of an unfinished Check by the client, a deadline, or another settled branch can also cache an incorrect result that later requests reuse. This issue is fixed in version 1.23.0.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- package github.com
- patch github.com
- REDHAT Red Hat
- web github.com
- web github.com