Bug 1950118 (CVE-2021-22879)

Summary: CVE-2021-22879 nextcloud: missing URL validation allowed RCE for the server on the desktop client
Product: [Other] Security Response Reporter: Guilherme de Almeida Suckevicz <gsuckevi>
Component: vulnerabilityAssignee: Red Hat Product Security <security-response-team>
Status: CLOSED NOTABUG QA Contact:
Severity: medium Docs Contact:
Priority: medium    
Version: unspecifiedCC: ce, claudiorodrigo, comzeradd, germano.massullo, gwync, james.hogarth, jan.public, mailinglists, nb, nonamedotc, taaem
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-10-28 05:29:43 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: 1950119, 1950120    
Bug Blocks:    

Description Guilherme de Almeida Suckevicz 2021-04-15 19:23:37 UTC
Nextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowing a malicious server to execute remote commands. User interaction is needed for exploitation.

Reference:
https://nextcloud.com/security/advisory/?id=NC-SA-2021-008

Upstream patch:
https://github.com/nextcloud/desktop/pull/2906

Comment 1 Guilherme de Almeida Suckevicz 2021-04-15 19:24:03 UTC
Created nextcloud-client tracking bugs for this issue:

Affects: epel-8 [bug 1950120]
Affects: fedora-all [bug 1950119]