CVE-2021-32802

Summary

CVECVE-2021-32802
StatePUBLIC
Assigner[email protected]
Source PriorityCVE Program / NVD first with legacy fallback
Published2021-09-07 22:15:00 UTC
Updated2022-09-27 14:16:00 UTC
DescriptionNextcloud server is an open source, self hosted personal cloud. 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. There are several security concerns with passing user-generated content to this library, such as Server-Side-Request-Forgery, file disclosure or potentially executing code on the system. The risk depends on your system configuration and the installed library version. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.1.0. These versions do not use this library anymore. As a workaround users may disable previews by setting `enable_previews` to `false` in `config.php`.

Risk And Classification

Problem Types: CWE-829

NVD Known Affected Configurations (CPE 2.3)

TypeVendorProductVersionUpdateEditionLanguage
Application Nextcloud Nextcloud All All All All
Application Nextcloud Nextcloud Server All All All All

References

ReferenceSourceLinkTags
Nextcloud: Multiple Vulnerabilities (GLSA 202208-17) — Gentoo security GENTOO security.gentoo.org
Preview generation used third-party library not suited for user-generated content · Advisory · nextcloud/security-advisories · GitHub CONFIRM github.com
HackerOne MISC hackerone.com
Previews configuration — Nextcloud latest Administration Manual latest documentation MISC docs.nextcloud.com
CVE Program record CVE.ORG www.cve.org canonical
NVD vulnerability detail NVD nvd.nist.gov canonical, analysis

Legacy QID Mappings

  • 710590 Gentoo Linux Nextcloud Multiple Vulnerabilities (GLSA 202208-17)
  • 751131 OpenSUSE Security Update for nextcloud (openSUSE-SU-2021:1253-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