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, bugtraq, EDB, Metasploit, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, Mageia, GitHub code/issues, web search, more)
ReferencesDSA-4974-1
NVD severitymedium

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
nextcloud-desktop (PTS)buster2.5.1-3+deb10u1vulnerable
buster (security)2.5.1-3+deb10u2fixed
bullseye3.1.1-2vulnerable
bullseye (security)3.1.1-2+deb11u1fixed
bookworm, sid3.3.3-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