Vulnerability Description
Nextcloud 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`.
CVSS Score
CRITICAL
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Nextcloud | Nextcloud Server | < 20.0.12 |
Related Weaknesses (CWE)
References
- https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_cVendor Advisory
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-vMitigationThird Party Advisory
- https://hackerone.com/reports/1261413Permissions RequiredThird Party Advisory
- https://security.gentoo.org/glsa/202208-17Third Party Advisory
- https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_cVendor Advisory
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-vMitigationThird Party Advisory
- https://hackerone.com/reports/1261413Permissions RequiredThird Party Advisory
- https://security.gentoo.org/glsa/202208-17Third Party Advisory
FAQ
What is CVE-2021-32802?
CVE-2021-32802 is a vulnerability with a CVSS score of 9.3 (CRITICAL). Nextcloud 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 th...
How severe is CVE-2021-32802?
CVE-2021-32802 has been rated CRITICAL with a CVSS base score of 9.3/10. This is considered a critical vulnerability requiring immediate attention.
Is there a patch for CVE-2021-32802?
Check the references section above for vendor advisories and patch information. Affected products include: Nextcloud Nextcloud Server.