CVE-2021-32802

Critical

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`.

SeverityCritical
CVSS9.3
Exploit probability—
ProductNextcloud Server
PublishedSep 7, 2021
First seenSep 7, 2021
Weakness typeCWE-829CWE-829

How to fix

Update
  • nextcloud nextcloud_server20.0.12, 21.0.4, 22.1.0 or later

Affected products

ProductAffected versionsFixed in
nextcloud nextcloud_serverv < 20.0.12, 21.0.0 ≤ v < 21.0.4, 22.0.0 ≤ v < 22.1.020.0.12, 21.0.4, 22.1.0

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.