Bug 2018286 (CVE-2021-41178) - CVE-2021-41178 nextcloud: file traversal affecting SVG files
Summary: CVE-2021-41178 nextcloud: file traversal affecting SVG files
Keywords:
Status: CLOSED UPSTREAM
Alias: CVE-2021-41178
Product: Security Response
Classification: Other
Component: vulnerability
Version: unspecified
Hardware: All
OS: Linux
high
high
Target Milestone: ---
Assignee: Red Hat Product Security
QA Contact:
URL:
Whiteboard:
Depends On: 2018287
Blocks:
TreeView+ depends on / blocked
 
Reported: 2021-10-28 17:55 UTC by Guilherme de Almeida Suckevicz
Modified: 2021-10-28 20:07 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-10-28 20:07:54 UTC
Embargoed:


Attachments (Terms of Use)

Description Guilherme de Almeida Suckevicz 2021-10-28 17:55:03 UTC
Nextcloud is an open-source, self-hosted productivity platform. Prior to versions 20.0.13, 21.0.5, and 22.2.0, a file traversal vulnerability makes an attacker able to download arbitrary SVG images from the host system, including user provided files. This could also be leveraged into a XSS/phishing attack, an attacker could upload a malicious SVG file that mimics the Nextcloud login form and send a specially crafted link to victims. The XSS risk here is mitigated due to the fact that Nextcloud employs a strict Content-Security-Policy disallowing execution of arbitrary JavaScript. It is recommended that the Nextcloud Server be upgraded to 20.0.13, 21.0.5 or 22.2.0. There are no known workarounds aside from upgrading.

Reference:
https://github.com/nextcloud/security-advisories/security/advisories/GHSA-jp9c-vpr3-m5rf

Comment 1 Guilherme de Almeida Suckevicz 2021-10-28 17:55:15 UTC
Created nextcloud tracking bugs for this issue:

Affects: fedora-all [bug 2018287]

Comment 2 Product Security DevOps Team 2021-10-28 20:07: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.


Note You need to log in before you can comment on or make changes to this bug.