Vulnerabilities · 2021 · Nextcloud
CVE-2021-32802
Nextcloud Server vulnerability
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`.
High priority: this vulnerability is rated critical and can be attacked over the network without a login.
Affected products
Nextcloud Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Nextcloud Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html# · Vendor Advisory
- github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 · Mitigation
- hackerone.com/reports/1261413 · Third Party Advisory
- security.gentoo.org/glsa/202208-17 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2021-32802
- cve.org/CVERecord?id=CVE-2021-32802
More vulnerabilities in Nextcloud products
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.