CVE-2021-32802

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

Configuration 1 (hide)

OR cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*
cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*

History

27 Sep 2022, 14:16

Type Values Removed Values Added
First Time Nextcloud nextcloud Server
References (GENTOO) https://security.gentoo.org/glsa/202208-17 - (GENTOO) https://security.gentoo.org/glsa/202208-17 - Third Party Advisory
CPE cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:* cpe:2.3:a:nextcloud:nextcloud_server:*:*:*:*:*:*:*:*

11 Aug 2022, 01:15

Type Values Removed Values Added
References
  • (GENTOO) https://security.gentoo.org/glsa/202208-17 -

14 Sep 2021, 16:54

Type Values Removed Values Added
CPE cpe:2.3:a:nextcloud:nextcloud:*:*:*:*:*:*:*:*
CVSS v2 : unknown
v3 : 9.3
v2 : 10.0
v3 : 9.8
References (MISC) https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews - (MISC) https://docs.nextcloud.com/server/21/admin_manual/configuration_files/previews_configuration.html#disabling-previews - Vendor Advisory
References (CONFIRM) https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 - (CONFIRM) https://github.com/nextcloud/security-advisories/security/advisories/GHSA-m682-v4g9-wrq7 - Mitigation, Third Party Advisory
References (MISC) https://hackerone.com/reports/1261413 - (MISC) https://hackerone.com/reports/1261413 - Permissions Required, Third Party Advisory

07 Sep 2021, 22:15

Type Values Removed Values Added
New CVE

Information

Published : 2021-09-07 22:15

Updated : 2023-12-10 13:55


NVD link : CVE-2021-32802

Mitre link : CVE-2021-32802

CVE.ORG link : CVE-2021-32802


JSON object : View

Products Affected

nextcloud

  • nextcloud_server
CWE
CWE-829

Inclusion of Functionality from Untrusted Control Sphere