cve.bz

CVE-2021-32802 nextcloud nextcloud server

9.8 criticalEPSS 2.6%

Critical (9.8) in nextcloud nextcloud server. EPSS 2.6% estimated probability of exploitation activity in the next 30 days.

On this page
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`.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
2.6% (unchanged from 2.6% a week ago; 2.6% 30 days ago) estimated probability of exploitation activity in the next 30 days; 86th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-829 Inclusion of Functionality from Untrusted Control Sphere
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2021-32802 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2021-32802?via=ask-ai-copy and https://cve.bz/cve/CVE-2021-32802?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2021-32802 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
nextcloud:nextcloud_serverbefore 20.0.12
nextcloud:nextcloud_serverfrom 21.0.0 before 21.0.4
nextcloud:nextcloud_serverfrom 22.0.0 before 22.1.0

Linux distributions

DistributionReleasePackageFixed inAdvisory
SUSEPackage Hub 12nextcloud20.0.12-31.1openSUSE-SU-2021:1252-1
SUSEPackage Hub 15 SP1nextcloud20.0.12-bp151.3.18.1openSUSE-SU-2021:1250-1
SUSEPackage Hub 15 SP2nextcloud20.0.12-bp152.2.12.1openSUSE-SU-2021:1275-1
SUSEPackage Hub 15 SP3nextcloud20.0.12-bp153.2.6.1openSUSE-SU-2021:1255-1
openSUSELeap 15.2nextcloud20.0.12-lp152.3.12.1openSUSE-SU-2021:1253-1
openSUSELeap 15.3nextcloud20.0.12-bp153.2.6.1openSUSE-SU-2021:1255-1

From the distributions' data via OSV.dev: SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: SUSE · openSUSE.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-829 (13).

References

Check your stackJSON