CVE-2021-32801

Exceptions may have logged Encryption-at-Rest key content in Nextcloud server

MEDIUM
5.5
CVSS Score
Published: September 7, 2021 at 09:40 PM UTC
Updated: June 17, 2026 at 03:53 AM UTC
1 product affected across 1 vendorNextcloud/server

Using security-advisories by nextcloud?

Get instant alerts when new vulnerabilities affect security-advisories - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM5.5
Exploit prediction
EPSS 0.2%

Description

Nextcloud server is an open source, self hosted personal cloud. In affected versions logging of exceptions may have resulted in logging potentially sensitive key material for the Nextcloud Encryption-at-Rest functionality. It is recommended that the Nextcloud Server is upgraded to 20.0.12, 21.0.4 or 22.1.0. If upgrading is not an option users are advised to disable system logging to resolve this issue until such time that an upgrade can be performed Note that ff you do not use the Encryption-at-Rest functionality of Nextcloud you are not affected by this bug.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 20.0.1221.0.0 ≤ v < 21.0.422.0.0 ≤ v < 22.1.0
Affected range stops below 20.0.12, so it looks safe — our inference, not a vendor statement
Affected range stops below 21.0.4, so it looks safe — our inference, not a vendor statement
Affected range stops below 22.1.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

Patch and advisory references

References (4)

x_refsource_MISCThird Party Advisory
https://github.com/nextcloud/server/pull/28082
x_refsource_MISCPermissions RequiredThird Party Advisory
https://hackerone.com/reports/1251776
Vendor Advisoryx_refsource_GENTOOThird Party Advisory
https://security.gentoo.org/glsa/202208-17

CVSS

5.5MEDIUMGitHub_M
Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-532

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card