{"id":"CVE-2021-32727","published":"2021-07-12T20:40:13Z","modified":"2024-08-03T23:33:54Z","title":"End-to-end encryption device setup did not verify public key","vendor":"nextcloud","product":"security-advisories","tier":"tail","description":{"text":"Nextcloud Android Client is the Android client for Nextcloud. Clients using the Nextcloud end-to-end encryption feature download the public and private key via an API endpoint. In versions prior to 3.16.1, the Nextcloud Android client skipped a step that involved the client checking if a private key belonged to a previously downloaded public certificate. If the Nextcloud instance served a malicious public key, the data would be encrypted for this key and thus could be accessible to a malicious actor. The vulnerability is patched in version 3.16.1. As a workaround, do not add additional end-to-end encrypted devices to a user account.","provenance":"source","from":"CVE.org"},"cvss":{"score":5.7,"severity":"MEDIUM","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00732,"percentile":0.50284,"provenance":"source"},"cwes":[{"id":"CWE-295","name":"Improper Certificate Validation"}],"references":[{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-5v33-r9cm-7736","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/nextcloud/android/pull/8438","tags":["x_refsource_MISC"]},{"url":"https://hackerone.com/reports/1189162","tags":["x_refsource_MISC"]},{"url":"https://github.com/nextcloud/end_to_end_encryption_rfc/blob/7f002996397faefb664019a97ebb0a1e210f64f0/RFC.md#further-devices","tags":["x_refsource_MISC"]}],"priority":{"score":14.0,"factors":[{"name":"EPSS percentile","points":10.06},{"name":"CVSS severity","points":3.99}]},"vendorSlug":"nextcloud","affectedVersions":[{"vendor":"nextcloud","product":"security-advisories","versions":["< 3.16.1"]}],"euvd":{"id":"EUVD-2021-19509","exploited":false,"provenance":"source"}}