This repository was archived by the owner on Jul 5, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(deps): update module github.com/openfga/openfga to v1.8.11 [security] #170
Merged
renovate
merged 2 commits into
main
from
renovate/go-github.com-openfga-openfga-vulnerability
May 20, 2025
Merged
fix(deps): update module github.com/openfga/openfga to v1.8.11 [security] #170
renovate
merged 2 commits into
main
from
renovate/go-github.com-openfga-openfga-vulnerability
May 20, 2025
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ℹ Artifact update noticeFile name: go.modIn order to perform the update(s) described in the table above, Renovate ran the
Details:
|
311f595
to
8612b25
Compare
a02a3f0
to
86192fa
Compare
7dac8f3
to
7067091
Compare
11c0297
to
cff3f78
Compare
1cde24e
to
0619f40
Compare
0619f40
to
996bd11
Compare
996bd11
to
cdfaad0
Compare
bd8d961
to
1761e75
Compare
f857bfa
to
931db94
Compare
0e13f46
to
095ee19
Compare
e292ec7
to
a40b47f
Compare
a40b47f
to
7c25fdd
Compare
629eb11
to
c1d2845
Compare
4956c33
to
d08b438
Compare
d08b438
to
fa65fc6
Compare
Edited/Blocked NotificationRenovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR. You can manually request rebase by checking the rebase/retry box above. |
nexus49
approved these changes
May 20, 2025
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
v1.7.0
->v1.8.11
GitHub Vulnerability Alerts
CVE-2024-56323
Overview
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 when certain Check and ListObject calls are executed.
Am I Affected?
You are affected by this authorization bypass vulnerability if you are using OpenFGA v1.3.8 to v1.8.2, specifically under the following conditions:
OPENFGA_CHECK_QUERY_CACHE_ENABLED
), andFix
Upgrade to v1.8.3. This upgrade is backwards compatible.
CVE-2025-25196
Overview
OpenFGA v1.8.4 or previous (Helm chart < openfga-0.2.22, docker < v.1.8.5) are vulnerable to authorization bypass when certain Check and ListObject calls are executed.
Am I Affected?
If you are using OpenFGA v1.8.4 or previous, specifically under the following conditions, you are affected by this authorization bypass vulnerability:
Fix
Upgrade to v1.8.5. This upgrade is backwards compatible.
CVE-2025-46331
Overview
OpenFGA v1.8.10 or previous (Helm chart <= openfga-0.2.28, docker <= v.1.8.10) are vulnerable to authorization bypass when certain Check and ListObject calls are executed.
Am I Affected?
If you are using OpenFGA v1.8.10 or previous, specifically under the following conditions, you are affected by this authorization bypass vulnerability:
Fix
Upgrade to v1.8.11. This upgrade is backwards compatible.
Release Notes
openfga/openfga (github.com/openfga/openfga)
v1.8.11
Compare Source
Changed
Fixed
Full changelog
v1.8.10
Compare Source
Added
Changed
Fixed
Full changelog
Changelog
9b59744
Reduce fast path batch threshold from 1000 to 100 (#2394)6183266
Surface partial metrics on check resolutions (#2371)73dceae
adds total dispatch count to context tags for batch check (#2369)2e1d06e
chore(deps): bump the dependencies group across 1 directory with 5 updates (#2367)f1c51ff
chore(deps): bump the dependencies group with 2 updates (#2366)b95fe5f
chore(deps): bump the dependencies group with 2 updates (#2374)de5f9aa
chore(deps): bump the dependencies group with 2 updates (#2390)e976cfa
chore(deps): bump the dependencies group with 2 updates (#2401)3380a71
chore: move cache key logic to separate file (#2393)0f1cd09
chore: update changelog in prep for v1.8.10 (#2399)08d576b
feat: Add Iterator Cache to ListObjects (#2388)aeafa92
feat: Add processDispatches panic error handling (#2376)b71cf4d
feat: Add processUsersets panic error handling (#2378)580d860
feat: add counters on current number of iterator cache (#2397)c32c2db
feat: add exclusion panic error handling (#2384)5e194ab
feat: move serverconfig out of internal (#2382)eb8c657
fix: add goroutine concurrency limit for iterator processing (#2386)94085ab
fix: auth0 fga rebranding (#2402)d3bfad8
fix: cached_datastore.ReadStartingWithUser cache keys (#2381)07ccbd0
fix: increase discard count on.Next()
(#2391)4e2fd93
refactor: rename files/methods related to iterator cache (#2368)d5ff674
refactor: rename sharedCheckResources -> sharedDatastoreResources (#2387)v1.8.9
Compare Source
Added
enable-list-objects-optimizations
) from experimental check optimization flag (enable-check-optimizations
) to allow individual optimization. #2341.Full changelog
Changelog
a24f0fe
chore(deps): bump the dependencies group with 3 updates (#2347)09fb1b7
chore(deps): bump the dependencies group with 5 updates (#2329)ee82979
chore(deps): bump the dependencies group with 5 updates (#2346)3d34d74
docs(v1.8.9): add v1.8.9 release notes to CHANGELOG (#2348)3e7e9e5
feat: Downgrade grpc logs for healthcheck service to Debug level (#2340)3315358
feat: add list object experimental flag (#2341)v1.8.8
Compare Source
Added
ShadowResolver
) to allow comparing changes across different CheckResolvers. #2308.Changed
Full changelog
Changelog
0f16ee6
Mysql: Extendobject_id
VARCHAR to 255 (#2230)7511928
chore(deps): bump github.com/golang-jwt/jwt/v5 from 5.2.1 to 5.2.2 (#2325)825cd8a
chore(deps): bump golang.org/x/net from 0.35.0 to 0.36.0 (#2311)7e99b6f
chore(deps): bump the dependencies group across 1 directory with 3 updates (#2319)ae0a700
chore(deps): bump the dependencies group across 1 directory with 4 updates (#2318)426e31e
chore(deps): bump the dependencies group across 1 directory with 6 updates (#2332)459e6e6
docs(v1.8.8): add v1.8.8 release notes to CHANGELOG (#2320)2b5324d
docs(v1.8.8): add v1.8.8 release notes to CHANGELOG (#2333)2bbff46
feat: Add Shadow Check Resolver to allow comparing results (#2308)4d1606e
fix: fix shadow resolver for Checks that have cycles and better reliability (#2317)d500124
tests: consolidate matrix test infrastucture (#2322)cc40ed7
tests: moves ListObjects matrix assertions and adds Weight1 wildcard test (#2327)v1.8.7
Compare Source
Added
storage.ErrTransactionThrottled
for throttling errors applied at the datastore level. #2304.Removed
tuples_iterator_cache_invalid_hit_count
metric. Thecachecontroller_cache_invalidation_count
from 1.8.6 better accomplishes the same goal. [#2296)[https://github.com/openfga/openfga/pull/2296](https://redirect.github.com/openfga/openfga/pull/2296)6/]Fixed
enable-check-optimizations
flag. #2281Full changelog
Changelog
56bb7c0
Recursive TTUv2 cleanup and fixes (#2281)ce37287
Revert "feat: createsPassthroughError
type to proxy errors through FGA" (#2305)cd301c1
chore(deps): bump the dependencies group across 1 directory with 15 updates (#2301)a59069c
chore(deps): bump the dependencies group across 1 directory with 6 updates (#2295)473d9d1
chore(deps): bump the dependencies group with 2 updates (#2294)5a6f640
chore(deps): bump the dependencies group with 4 updates (#2299)3966521
chore: remove extra cache-related metric (#2296)662bc8e
docs(v1.8.7): addv1.8.7
release notes to CHANGELOG (#2302)49259cf
feat: addstorage.ErrTransactionThrottled
and associated server error (#2304)bd07635
feat: createsPassthroughError
type to proxy errors through FGA (#2303)2835b02
fix: add ttu recursive matrix tests (#2297)7f87fbe
perf: recursive userset v2 (#2270)718c126
perf: use string iterators rather than tuple iterators (#2300)v1.8.6
Compare Source
Added
Added cachecontroller_cache_invalidation_count metric to track invalidation operations. https://github.com/openfga/openfga/pull/2282
Full changelog
Changelog
bf1744a
chore(deps): bump the dependencies group across 1 directory with 8 updates (#2288)728a148
chore(deps): bump the dependencies group across 1 directory with 8 updates (#2289)93568f7
chore: dry run goreleaser on PRs to main (#2286)15a9cb8
chore: update changelog in prep for v1.8.6 (#2291)70e70e6
feat: addcachecontroller_cache_invalidation_count
metric (#2282)v1.8.5
Compare Source
Added
Check
performance for sub-problems when caching is enabled #2193.Check
performance for relations involving public wildcard. Enable via experimental flagenable-check-optimizations
. #2180.enable-check-optimizations
is turned on and contextual tuples are involved. #2150check_cache_invalid_hit_count
andtuples_iterator_cache_invalid_hit_count
#2222.enable-check-optimizations
is turned on and the model contains union of a TTU and algebraic operations. #2200check.RunMatrixTests
method to allow testing against anyClientInterface
. #2267.Changed
We follow Go's version support policy and will only support the latest two major versions of Go. Now that Go 1.24 is out, we have dropped support for Go < 1.23.
Fixed
BatchCheck
API to validate presence of thetuple_key
property of aBatchCheckItem
#2242v1.8.4
Compare Source
Fixed
Security
Full changelog: [1.8.3...1.8.4]
Changelog
67dcf3d
avoid mutating reference input (#2203)ab3ed12
chore(deps): bump go.opentelemetry.io/proto/otlp from 1.4.0 to 1.5.0 in the dependencies group (#2192)9ec0ab1
chore: bump api to bring fix for read api validation (#2195)a19aeca
chore: introduce new ordered combined iterator (#2197)f05b67a
chore: remove dead cache key code (#2206)67206f1
chore: replace sprintf in cache code (#2207)4bf4c88
fix: cache-controller flags not respecting the environment variables (#2184)a4491e4
fix: iterator need to be flushed after invalidation (#2198)e1d332f
rework cache key hash generation (#2194)v1.8.3
Compare Source
Added
Check
performance for Userset relationships that include set operations. Enable via experimental flagenable-check-optimizations
. #2140name
as a filter toListStores
. The name parameter instructs the API to only include results that match that name. #2103Fixed
contextual_tuple
conditions and their contexts #2160.New Contributors
Full Changelog: openfga/openfga@v1.8.2...v1.8.3
v1.8.2
Compare Source
Added
cachecontroller_find_changes_and_invalidate_histogram
on latency for cache controller in finding changes and invalidating. #2135Check
performance when cache controller is enabled by invalidating iterator and sub-problem cache asynchronously when read changes API indicates there are recent writes/deletes for the store. #2124strings.Builder
#2161.Fixed
max
histogram bucket are now labelled "+Inf" instead of ">max". #2146enable-check-optimizations
and model has intersection or exclusion within a TTU or Userset. #2157Full changelog
v1.8.1
Compare Source
Added
OPENFGA_CHECK_ITERATOR_TTL
. Please see the flag description (./openfga run --help
) for more details. #2082OPENFGA_CHECK_CACHE_LIMIT
. Please see the flag description (./openfga run --help
) for more details. #2082Check
performance for TTU relationships that include set operations. Enable via experimental flagenable-check-optimizations
. #2075Duration
toResolveCheckResponseMetadata
for use in metrics. #2139check_duration_ms
metric toserver
package to enable measurement of check across different API methods. #2139Changed
Removed
OPENFGA_CHECK_QUERY_CACHE_LIMIT
, in favor ofOPENFGA_CHECK_CACHE_LIMIT
. #2082OPENFGA_DISPATCH_THROTTLING_*
name. #2083Fixed
Check
performance in the case that the query involves types that cannot be reached from the source. Enable via experimental flagenable-check-optimizations
. #2104/read
and/list-objects
respect the receivedConsistency
values #2113access-control
to always return unauthorized errors, and add logging for authorization failures 2129Full changelog
v1.8.0
Compare Source
Added
start_time
parameter toReadChanges
API to allow filtering by specific time #2020Expand
API. #2045OPENFGA_CONTEXT_PROPAGATION_TO_DATASTORE
to control propagation of a request's context to the datastore. #1838BatchCheck
API which allows multiple check operations to be performed in a single request.It requires a unique
correlation_id
associated with each individual check to map each result to its associated tuple.For more details, see batch check docs #2039.
Performance
Check
performance in the case that the query involves resolving nested userset with type bound public access. Enable via experimental flagenable-check-optimizations
. #2063Breaking changes
ReadChanges
's parameter ReadChangesOptions allows filtering byStartTime
#2020.As a part of the implementation, a new server setting called
WithContinuationTokenSerializer
was introduced.If you are using OpenFGA as a library, you will need to pass in either
StringContinuationTokenSerializer
, orSQLContinuationTokenSerializer
, or implement your own (if you also have your own storage adapter)ReadPage
return parameters changed from([]*openfgav1.Tuple, []byte, error)
to([]*openfgav1.Tuple, string, error)
#2064If you are using a custom storage adapter or consume
ReadPage
func in your code, you will need to update the return type and/or handling of theReadPage
function.ErrMismatchObjectType
error type removed fromopenfga
package #2064 as storage is not validating this anymore.Validation moved to
ReadChangesQuery
implementation.Configuration
📅 Schedule: Branch creation - "" (UTC), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.