CVE-2021-32802CWE-829

Preview generation used third-party library not suited for user-generated content in Nextcloud server

Critical · published September 7, 2021

CVSS v3.1
9.3
EPSS
3%
Percentile
85.3
In the wild
Unconfirmed
What it is

🚨 A sneaky library flaw in Nextcloud lets untrusted images open a buffet of vulnerabilities! 🔥 Think of it like a restaurant serving food from strangers without checking the ingredients — you never know if someone slipped in something dangerous! An attacker could exploit this vulnerability to execute malicious code, access sensitive files, or even cause a server-side request forgery. This is absolutely devastating for your data integrity and security!

Put simply

Think of it like a restaurant serving food from strangers without checking the ingredients — you never know if someone slipped in something dangerous! This vulnerability arises when Nextcloud improperly handles user-supplied images by invoking a third-party library that can't be trusted with potentially harmful content, leading to various security risks.

What to do

An attacker could exploit this vulnerability to execute malicious code, access sensitive files, or even cause a server-side request forgery. This is absolutely devastating for your data integrity and security! Upgrade your Nextcloud server to versions 20.0.12, 21.0.4, or 22.1.0 immediately, as these versions have removed the vulnerable library. If upgrading isn't an option right now, temporarily disable previews by setting `enable_previews` to `false` in your `config.php`. You can tackle this! Follow these steps and your Nextcloud will be safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.3 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:L
CVSS v4.0
Not supplied
EPSS
0.02604 · 85.3th percentile
Weakness
CWE-829 · Inclusion of Functionality from Untrusted Control Sphere
Published
2021-09-07T21:45Z
EPSS history
Timeline
  • 07 SEP 21:45Z
    Preview generation used third-party library not suited for user-generated content in Nextcloud server
    cvelistv5