CVE-2021-32679

Summary

CVECVE-2021-32679
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-07-12 13:15:00 UTC
Updated2023-11-07 03:35:00 UTC
DescriptionNextcloud Server is a Nextcloud package that handles data storage. In versions prior to 19.0.13, 20.0.11, and 21.0.3, filenames where not escaped by default in controllers using `DownloadResponse`. When a user-supplied filename was passed unsanitized into a `DownloadResponse`, this could be used to trick users into downloading malicious files with a benign file extension. This would show in UI behaviours where Nextcloud applications would display a benign file extension (e.g. JPEG), but the file will actually be downloaded with an executable file extension. The vulnerability is patched in versions 19.0.13, 20.0.11, and 21.0.3. Administrators of Nextcloud instances do not have a workaround available, but developers of Nextcloud apps may manually escape the file name before passing it into `DownloadResponse`.

Risk And Classification

Problem Types: CWE-116

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Operating System Fedoraproject Fedora 33 All All All
Operating System Fedoraproject Fedora 34 All All All
Application Nextcloud Nextcloud Server All All All All

References

ReferenceSourceLinkTags
[SECURITY] Fedora 34 Update: nextcloud-20.0.11-1.fc34 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Nextcloud: Multiple Vulnerabilities (GLSA 202208-17) — Gentoo security GENTOO security.gentoo.org
[SECURITY] Fedora 33 Update: nextcloud-19.0.13-1.fc33 - package-announce - Fedora Mailing-Lists FEDORA lists.fedoraproject.org
Escape filename in Content-Disposition by LukasReschke · Pull Request #27354 · nextcloud/server · GitHub MISC github.com
Filenames not escaped by default in controllers using DownloadResponse · Advisory · nextcloud/security-advisories · GitHub CONFIRM github.com
HackerOne MISC hackerone.com
[SECURITY] Fedora 33 Update: nextcloud-19.0.13-1.fc33 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
[SECURITY] Fedora 34 Update: nextcloud-20.0.11-1.fc34 - package-announce - Fedora Mailing-Lists lists.fedoraproject.org
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 281735 Fedora Security Update for nextcloud (FEDORA-2021-9b421b78af)
  • 281736 Fedora Security Update for nextcloud (FEDORA-2021-6f327296fe)
  • 710590 Gentoo Linux Nextcloud Multiple Vulnerabilities (GLSA 202208-17)
  • 750849 OpenSUSE Security Update for nextcloud (openSUSE-SU-2021:1068-1)
  • 750850 OpenSUSE Security Update for nextcloud (openSUSE-SU-2021:1068-1)
© CVE.report 2026 |

Use of this information constitutes acceptance for use in an AS IS condition. There are NO warranties, implied or otherwise, with regard to this information or its use. Any use of this information is at the user's risk. It is the responsibility of user to evaluate the accuracy, completeness or usefulness of any information, opinion, advice or other content. EACH USER WILL BE SOLELY RESPONSIBLE FOR ANY consequences of his or her direct or indirect use of this web site. ALL WARRANTIES OF ANY KIND ARE EXPRESSLY DISCLAIMED. This site will NOT BE LIABLE FOR ANY DIRECT, INDIRECT or any other kind of loss.

CVE, CWE, and OVAL are registred trademarks of The MITRE Corporation and the authoritative source of CVE content is MITRE's CVE web site. This site includes MITRE data granted under the following license.

CVE.report and Source URL Uptime Status status.cve.report