Bug 2004932 (CVE-2021-32802)

Summary: CVE-2021-32802 nextcloud: supplying third party library with untrusted user input may lead to remote code execution
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.12, nextcloud 21.0.4, nextcloud 22.1.0 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-09-16 18:21:27 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: 2004933    
Bug Blocks:    

Description Marian Rehak 2021-09-16 13:15:40 UTC
Nextcloud supports rendering image previews for user provided file content. For some image types, the Nextcloud server was invoking a third-party library that wasn't suited for untrusted user-supplied content, this might lead to Server-Side-Request-Forgery of Remote Code Execution.

Upstream Advisory:

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7

Comment 1 Marian Rehak 2021-09-16 13:15:54 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2004933]

Comment 2 Product Security DevOps Team 2021-09-16 18:21:27 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.