Skip to content

Add 'decomposed' and 'decomposed_s3' storage drivers - #2

Merged
butonic merged 6 commits into
opencloud-eu:mainfrom
aduffeck:decomposed
Jan 27, 2025
Merged

butonic merged 6 commits into
opencloud-eu:mainfrom
aduffeck:decomposed

Conversation

@aduffeck

Copy link
Copy Markdown
Member

They are based on 'ocis' and 's3ng' respectively, but use a new version of the 'decomposedfs' lib (in pkg/storage/pkg/decomposedfs which we will use moving forward.

Also the posix driver is switched over to this lib.

@butonic
butonic merged commit a84e6c3 into opencloud-eu:main Jan 27, 2025

@butonic butonic left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

manually tested

@openclouders openclouders mentioned this pull request Mar 17, 2025
1 task
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants