Skip to content
OpenAdvisories
Medium · 4.3 CVE-2021-41241 EUVD-2021-28295

Advanced permissions is not respected for subfolders in Nextcloud server

Published Mar 8, 2022 · Updated Apr 23, 2025 · Assigned by GitHub_M

Description

Nextcloud server is a self hosted system designed to provide cloud style services. The groupfolders application for Nextcloud allows sharing a folder with a group of people. In addition, it allows setting "advanced permissions" on subfolders, for example, a user could be granted access to the groupfolder but not specific subfolders. Due to a lacking permission check in affected versions, a user could still access these subfolders by copying the groupfolder to another location. It is recommended that the Nextcloud Server is upgraded to 20.0.14, 21.0.6 or 22.2.1. Users unable to upgrade should disable the "groupfolders" application in the admin settings.

Affected products

VendorProductAffectedFixed
nextcloud security-advisories < 20.0.14, >= 21.0.0, < 21.0.6, >= 22.2.0, < 22.2.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SUSE Package Hub 15 SP3 nextcloud 21.0.9-bp153.2.12.1 openSUSE-SU-2022:0098-1
SUSE Package Hub 12 nextcloud 21.0.9-37.1 openSUSE-SU-2022:0089-1
ReleasePackageFixed inAdvisory
openSUSE Leap 15.3 nextcloud 21.0.9-bp153.2.12.1 openSUSE-SU-2022:0098-1

Advisories 2

References