Bug 2063895 (CVE-2021-41241)

Summary: CVE-2021-41241 nextcloud: groupfolders advanced permissions is not obeyed for subfolders
Product: [Other] Security Response Reporter: Marian Rehak <mrehak>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED UPSTREAM QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ce, james.hogarth
Target Milestone: ---Keywords: Security
Target Release: ---   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: nextcloud 20.0.14, nextcloud 21.0.6, nextcloud 22.2.1 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2022-03-14 22:32:03 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 2063896    
Bug Blocks:    

Description Marian Rehak 2022-03-14 15:19:37 UTC
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. Users unable to upgrade should disable the "groupfolders" application in the admin settings.

Reference:

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m4wp-r357-4q94
https://github.com/nextcloud/server/pull/29362
https://github.com/nextcloud/groupfolders/issues/1692

Comment 1 Marian Rehak 2022-03-14 15:19:52 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2063896]

Comment 2 Product Security DevOps Team 2022-03-14 22:32:01 UTC
This CVE Bugzilla entry is for community support informational purposes only as it does not affect a package in a commercially supported Red Hat product. Refer to the dependent bugs for status of those individual community products.