CVE-2021-32728
published medium CVSS 3.1 · 6.5End-to-end encryption device setup did not verify public key
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| nextcloud | — | security-advisories< 3.3.0 | Affected | Not stated | GitHub_M |
| Debian | bullseye | nextcloud-desktop | Advisory build | 3.1.1-2+deb11u1 | DSA-4974-1 |
| Debian | buster | nextcloud-desktop | Advisory build | 2.5.1-3+deb10u2 | DSA-4974-1 |
Description
The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with a computer. Clients using the Nextcloud end-to-end encryption feature download the public and private key via an API endpoint. In versions prior to 3.3.0, the Nextcloud Desktop client fails to check if a private key belongs to previously downloaded public certificate. If the Nextcloud instance serves a malicious public key, the data would be encrypted for this key and thus could be accessible to a malicious actor. This issue is fixed in Nextcloud Desktop Client version 3.3.0. There are no known workarounds aside from upgrading.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| nextcloud | security-advisories | < 3.3.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-295 CWE-295: Improper Certificate Validation
References
4- https://github.com/nextcloud/desktop/pull/3338
- https://github.com/nextcloud/security-advisories/security/advisories/GHSA-f5fr-5gcv-6cc5
- https://hackerone.com/reports/1189162
- DSA-4974 https://www.debian.org/security/2021/dsa-4974
Provider assertions
2GitHub_M · cna
End-to-end encryption device setup did not verify public key
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 03778fd489acae0243b3a015e804f07caf817a5b8989284169297593d579ae0f
- Ingested
- 23 Sep 2026, 07:54:30 UTC
- Source record
- Official CVE record