CVE-2021-32802 Details
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`.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
No SSVC data is available for this CVE.
References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews | CVE | Vendor Advisory |
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 | CVE | MitigationThird Party Advisory |
| https://hackerone.com/reports/1261413 | CVE | Permissions RequiredThird Party Advisory |
| https://security.gentoo.org/glsa/202208-17 | CVE | Third Party Advisory |
| https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews | [email protected] | Vendor Advisory |
| https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 | [email protected] | MitigationThird Party Advisory |
| https://hackerone.com/reports/1261413 | [email protected] | Permissions RequiredThird Party Advisory |
| https://security.gentoo.org/glsa/202208-17 | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
| CWE-829 | Inclusion of Functionality from Untrusted Control Sphere | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| nextcloud nextcloud server | < 20.0.12 >= 21.0.0, < 21.0.4 >= 22.0.0, < 22.1.0 |
CPE
Remediation
| |
Change History
6 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Nov 21, 2024 | CVE Modified | CVE |
| May 14, 2024 | CVE Modified | [email protected] |
| Sep 27, 2022 | Modified Analysis | [email protected] |
| Aug 11, 2022 | CVE Modified | [email protected] |
| Sep 14, 2021 | Initial Analysis | [email protected] |