CVE-2021-32728 json
End-to-end encryption device setup did not verify public key
published 2021-08-18 5 y ago modified 2026-06-17 4 mo ago also EUVD-2021-19510
- cvss
- 6.5
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.9%
- EPSS 0.9% chance of exploitation in 30 days, percentile 58%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- nextcloud desktop 3.3.0
- nextcloud-desktop Debian 14, Debian 13, Debian 12 3.3.1-1
debian advisories DEBIAN-CVE-2021-32728
- github.com/nextcloud/desktop#3338 pull request
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2021-32728 updated cvss 9.1
nextcloud-client: End-to-end encryption device setup did not verify public key
-
Red Hat All currently supported Red Hat productsnot affected: vulnerable code not present
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
Exploit prediction
0.85% chance of exploitation in the next 30 days, higher than 58% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- hackerone.com https://hackerone.com/reports/1189162 referenced PoC, tagged "exploit" by a source, unverified
- github.com https://github.com/nextcloud/security-advisories/security/advisories/GHSA-f5fr-5gcv-6cc5 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 3.1 | 6.5 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N |
| NVD | 2.0 | 4.0 | AV:N/AC:L/Au:S/C:P/I:N/A:N |
Affected products
- nextcloud security-advisories
Classification
- Weakness
-
- CWE-295 Improper Certificate Validation
References
-
github.com
/nextcloud/desktop/pull/3338
patch, third-party-advisory
-
hackerone.com
/reports/1189162
exploit, third-party-advisory
-
github.com
/nextcloud/security-advisories/security/advisories/GHSA-f5fr-5gcv-6cc5
exploit, third-party-advisory
-
debian.org
/security/2021/dsa-4974
vendor-advisory, third-party-advisory
Sources
- CVE List CVE-2021-32728
- NVD CVE-2021-32728
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.