CVE-2021-32728

NameCVE-2021-32728
DescriptionThe 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.
SourceCVE (at NVD; CERT, LWN, oss-sec, fulldisc, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
ReferencesDSA-4974-1

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nextcloud-desktop (PTS)buster, buster (security)2.5.1-3+deb10u2fixed
bullseye (security), bullseye3.1.1-2+deb11u1fixed
bookworm3.7.3-1+deb12u1fixed
sid3.11.0-1.1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
nextcloud-desktopsourcebuster2.5.1-3+deb10u2DSA-4974-1
nextcloud-desktopsourcebullseye3.1.1-2+deb11u1DSA-4974-1
nextcloud-desktopsource(unstable)3.3.1-1

Notes

https://github.com/nextcloud/security-advisories/security/advisories/GHSA-f5fr-5gcv-6cc5
https://github.com/nextcloud/desktop/pull/3338

Search for package or bug name: Reporting problems