CVE-2021-32728 End-to-end encryption device setup did not verify public key
- Published
- Updated
- Exploit status
- No public exploit known
- Technology
- UbuntuDebian
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.
Upgrade path
8 packages: 4 fixed, 2 with no fix yet.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| ubuntu/nextcloud-desktop(Ubuntu 20.04) | = 2.5.3-1; = 2.6.0-1; = 2.6.1-1; = 2.6.1-2 +3 more | No fix listed | No fix yet |
| ubuntu/nextcloud-desktop(Ubuntu 22.04) | = 3.2.3-0ubuntu1; = 3.3.5-1; = 3.3.5-1ubuntu1; = 3.4.2-1 +2 more | No fix listed | No fix yet |
| debian/nextcloud-desktop(Debian 12) | < 3.3.1-1 | 3.3.1-1 | Fixed |
| debian/nextcloud-desktop(Debian 13) | < 3.3.1-1 | 3.3.1-1 | Fixed |
| debian/nextcloud-desktop(Debian 14) | < 3.3.1-1 | 3.3.1-1 | Fixed |
| Nextcloud desktop | < 3.3.0 | 3.3.0 | Fixed |
| debian linux | = 10.0; = 11.0 | No fix listed | Versions listed |
| Nextcloud security-advisories | = < 3.3.0 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| debian/nextcloud-desktop(Debian:12) | < 3.3.1-1 | 3.3.1-1 |
| debian/nextcloud-desktop(Debian:13) | < 3.3.1-1 | 3.3.1-1 |
| debian/nextcloud-desktop(Debian:14) | < 3.3.1-1 | 3.3.1-1 |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | All versions | No fix listed |
| Nextcloud desktop | < 3.3.0 | 3.3.0 |
| debian linux | = 10.0 | No fix listed |
| debian linux | = 11.0 | No fix listed |
| Nextcloud security-advisories | = < 3.3.0 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | All versions | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.5.3-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.0-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.1-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.1-2 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.2-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:20.04) | = 2.6.2-1build1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.2.3-0ubuntu1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.3.5-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.3.5-1ubuntu1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.4.2-1 | No fix listed |
| ubuntu/nextcloud-desktop(Ubuntu:22.04) | = 3.4.2-1ubuntu1 | No fix listed |
References
- Debian Security Tracker CVE-2021-32728 vendor-advisory
- Ubuntu CVE tracker issue-tracking vendor-advisory
- www.cve.org issue-tracking
- github.com issue-tracking patch third-party-advisory
- github.com exploit issue-tracking third-party-advisory
- hackerone.com exploit issue-tracking third-party-advisory
- DSA-4974 third-party-advisory vendor-advisory