Bug 1988984 (CVE-2021-32741)

Summary: CVE-2021-32741 nextcloud: ratelimiting on the public share link mount endpoint allows attacker tp enumerate share tokens
Product: [Other] Security Response Reporter: Dhananjay Arunesh <darunesh>
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: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-02 13:06:54 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: 1988985    
Bug Blocks:    

Description Dhananjay Arunesh 2021-08-02 08:36:24 UTC
Nextcloud Server is a Nextcloud package that handles data storage. In versions
prior to 19.0.13, 20.011, and 21.0.3, there was a lack of ratelimiting on the
public share link mount endpoint. This may have allowed an attacker to enumerate
potentially valid share tokens. The issue was fixed in versions 19.0.13,
20.0.11, and 21.0.3. There are no known workarounds.

References:
https://github.com/nextcloud/server/pull/26958
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-crvj-vmf7-xrvr

Comment 1 Dhananjay Arunesh 2021-08-02 08:36:43 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 1988985]

Comment 2 Product Security DevOps Team 2021-08-02 13:06:54 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.