CVE Vulnerabilities

CVE-2021-32728

Improper Certificate Validation

Published: Aug 18, 2021 | Modified: Oct 04, 2022
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
CVSS 2.x
4 MEDIUM
AV:N/AC:L/Au:S/C:P/I:N/A:N
RedHat/V2
RedHat/V3
Ubuntu
MEDIUM

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.

Weakness

The product does not validate, or incorrectly validates, a certificate.

Affected Software

Name Vendor Start Version End Version
Desktop Nextcloud * 3.3.0 (excluding)
Nextcloud-desktop Ubuntu hirsute *
Nextcloud-desktop Ubuntu impish *
Nextcloud-desktop Ubuntu kinetic *
Nextcloud-desktop Ubuntu trusty *
Nextcloud-desktop Ubuntu upstream *
Nextcloud-desktop Ubuntu xenial *

Potential Mitigations

References