Repository navigation
Add 'decomposed' and 'decomposed_s3' storage drivers - #2
Merged
Merged
Conversation
rhafer
added a commit
that referenced
this pull request
Feb 5, 2026
To verify that a resource is within the scope of a public link token, both the resourceId from the scope and the accessed reference need to be Stat'ed in order to check: a) whether they're within the same space (by checking the space ids) b) whether the accessed ref is actually a child of the shared resource (by checking the paths) Additionally the cache key for the 'scopeExpansionCache' is fixed to to take the resource id of the target resource into account. scope# This is the commit message #2: With the above fixes the `checkRelativeRefernce()` method is no longer needed and was removed. It contained another bug that would allow access to resources out of the share scope.
rhafer
added a commit
that referenced
this pull request
Feb 5, 2026
To verify that a resource is within the scope of a public link token, both the resourceId from the scope and the accessed reference need to be Stat'ed in order to check: a) whether they're within the same space (by checking the space ids) b) whether the accessed ref is actually a child of the shared resource (by checking the paths) Additionally the cache key for the 'scopeExpansionCache' is fixed to to take the resource id of the target resource into account. scope# This is the commit message #2: With the above fixes the `checkRelativeRefernce()` method is no longer needed and was removed. It contained another bug that would allow access to resources out of the share scope. Fixes: CVE-2026-23989
aduffeck
pushed a commit
to aduffeck/reva
that referenced
this pull request
Feb 5, 2026
To verify that a resource is within the scope of a public link token, both the resourceId from the scope and the accessed reference need to be Stat'ed in order to check: a) whether they're within the same space (by checking the space ids) b) whether the accessed ref is actually a child of the shared resource (by checking the paths) Additionally the cache key for the 'scopeExpansionCache' is fixed to to take the resource id of the target resource into account. scope# This is the commit message opencloud-eu#2: With the above fixes the `checkRelativeRefernce()` method is no longer needed and was removed. It contained another bug that would allow access to resources out of the share scope. Fixes: CVE-2026-23989
rhafer
added a commit
that referenced
this pull request
Feb 5, 2026
To verify that a resource is within the scope of a public link token, both the resourceId from the scope and the accessed reference need to be Stat'ed in order to check: a) whether they're within the same space (by checking the space ids) b) whether the accessed ref is actually a child of the shared resource (by checking the paths) Additionally the cache key for the 'scopeExpansionCache' is fixed to to take the resource id of the target resource into account. scope# This is the commit message #2: With the above fixes the `checkRelativeRefernce()` method is no longer needed and was removed. It contained another bug that would allow access to resources out of the share scope. Fixes: CVE-2026-23989
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
They are based on 'ocis' and 's3ng' respectively, but use a new version of the 'decomposedfs' lib (in
pkg/storage/pkg/decomposedfswhich we will use moving forward.Also the
posixdriver is switched over to this lib.