{"id":"CVE-2021-22895","aliases":["DEBIAN-CVE-2021-22895","DSA-4974-1","EUVD-2021-10027","GHSA-qpgp-vf4p-wcw5","MGASA-2021-0421","UBUNTU-CVE-2021-22895"],"status":"published","title":"nextcloud-desktop - security update","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow.","severity":{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary","from":"nvd"},"epss":{"day":"2026-11-12","score":0.01036,"percentile":0.64363,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-295"],"published":"2021-06-11T15:49:38Z","modified":"2026-10-23T18:03:24Z","fixes":[{"ecosystem":"Debian:12","package":"nextcloud-desktop","fixed_in":["3.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:13","package":"nextcloud-desktop","fixed_in":["3.3.1-1"],"sources":["osv"]},{"ecosystem":"Debian:14","package":"nextcloud-desktop","fixed_in":["3.3.1-1"],"sources":["osv"]}],"affected":[{"source":"osv","ecosystem":"Debian:12","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:13","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:14","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.1-1"}]}]},{"source":"osv","ecosystem":"Debian:10","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"2.5.1-3+deb10u2"}]}],"versions":["2.5.1-3","2.5.1-3+deb10u1"],"bundled":2},{"source":"osv","ecosystem":"Debian:11","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.1.1-2+deb11u1"}]}],"versions":["3.1.1-2"],"bundled":2},{"source":"osv","ecosystem":"Mageia:8","package":"nextcloud-client","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"3.3.3-1.mga8"}]}],"bundled":2},{"source":"osv","ecosystem":"Ubuntu:20.04:LTS","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.5.3-1","2.6.0-1","2.6.1-1","2.6.1-2","2.6.2-1","2.6.2-1build1"]},{"source":"osv","ecosystem":"Ubuntu:22.04:LTS","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.2.3-0ubuntu1","3.3.5-1","3.3.5-1ubuntu1","3.4.2-1","3.4.2-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:24.04:LTS","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.9.0-1","3.10.0-1","3.11.0-1","3.11.0-1.1build3","3.11.0-1.1build4"]},{"source":"osv","ecosystem":"Ubuntu:25.10","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.16.0-1","3.16.2-1","3.16.4-1","3.16.6-1","3.16.6-3"]},{"source":"osv","ecosystem":"Ubuntu:26.10","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["4.0.6-1","33.0.2-1","33.0.7-1ubuntu1"]},{"source":"osv","ecosystem":"Ubuntu:26.04:LTS","package":"nextcloud-desktop","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["3.16.6-3","3.16.7-1","4.0.1-2","4.0.1-2build1","4.0.6-1"]}],"products":[{"vendor":"debian","product":"debian_linux"},{"vendor":"nextcloud","product":"desktop"}],"references":[{"url":"https://hackerone.com/reports/903424","tags":["x_refsource_MISC","x_transferred","Exploit","Issue Tracking","Third Party Advisory","report"]},{"url":"https://github.com/nextcloud/desktop/pull/2926","tags":["x_refsource_MISC","x_transferred","Patch","Third Party Advisory","fix","report"]},{"url":"https://github.com/nextcloud/desktop/releases/tag/v3.1.3","tags":["x_refsource_MISC","x_transferred","Release Notes","Third Party Advisory","advisory","report"]},{"url":"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpgp-vf4p-wcw5","tags":["x_refsource_MISC","x_transferred","Third Party Advisory","advisory","report"]},{"url":"https://www.debian.org/security/2021/dsa-4974","tags":["vendor-advisory","x_refsource_DEBIAN","x_transferred","Third Party Advisory","advisory"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-22895","tags":["advisory"]},{"url":"https://advisories.mageia.org/MGASA-2021-0421.html","tags":["advisory"]},{"url":"https://bugs.mageia.org/show_bug.cgi?id=29043","tags":["report"]},{"url":"https://security-tracker.debian.org/tracker/source-package/nextcloud-desktop","tags":["web"]},{"url":"https://ubuntu.com/security/CVE-2021-22895","tags":["report"]},{"url":"https://github.com/nextcloud/desktop/commit/b1ddd0e491b2af0ed040e658d8bcde2a7a61c9fc","tags":["report"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22895","tags":["report"]}],"sources":{"cve":[{"id":"CVE-2021-22895","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow.","status":"published","published":"2021-06-11T15:49:38Z","modified":"2024-08-03T18:58:25.644Z","cwes":["CWE-295"],"updated_at":"2026-11-02T14:32:57.701381Z"}],"euvd":[{"id":"EUVD-2021-10027","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow.","status":"published","published":"2021-06-11T15:49:38Z","modified":"2024-08-03T18:58:25Z","updated_at":"2026-11-03T03:25:01.154097Z"}],"nvd":[{"id":"CVE-2021-22895","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow.","status":"published","published":"2021-06-11T16:15:10.797Z","modified":"2026-06-17T03:37:58.29Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium","assessor":"primary"},{"version":"2.0","score":4.3,"vector":"AV:N/AC:M/Au:N/C:N/I:P/A:N","level":"medium","assessor":"primary"}],"cwes":["CWE-295"],"updated_at":"2026-11-02T14:06:54.439974Z"}],"osv":[{"id":"CVE-2021-22895","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow.","status":"published","published":"2021-06-11T16:15:10.797Z","modified":"2026-10-20T10:54:31.258403572Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:18.367807Z"},{"id":"DEBIAN-CVE-2021-22895","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow.","status":"published","published":"2021-06-11T16:15:10.797Z","modified":"2026-10-23T18:03:24.977909363Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:45:34.637046Z"},{"id":"UBUNTU-CVE-2021-22895","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate validation due to lack of SSL certificate verification when using the \"Register with a Provider\" flow.","status":"published","published":"2021-06-11T16:15:00Z","modified":"2026-10-17T12:56:19.340820446Z","cvss":[{"version":"3.1","score":5.9,"vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N","level":"medium"}],"updated_at":"2026-11-02T15:54:26.29421Z"},{"id":"DSA-4974-1","title":"nextcloud-desktop - security update","status":"published","published":"2021-09-19T00:00:00Z","modified":"2026-03-09T02:11:45.153707Z","updated_at":"2026-11-02T15:46:17.19998Z"},{"id":"MGASA-2021-0421","title":"Updated nextcloud-client packages fix security vulnerability","description":"Nextcloud Desktop Client before 3.3.1 is vulnerable to improper certificate\nvalidation due to lack of SSL certificate verification when using the\n\"Register with a Provider\" flow. (CVE-2021-22895)\n\nIn versions prior to 3.3.0, the Nextcloud Desktop client fails to check if\na private key belongs to previously downloaded public certificate. If the\nNextcloud instance serves a malicious public key, the data would be\nencrypted for this key and thus could be accessible to a malicious actor.\nThis issue is fixed in Nextcloud Desktop Client version 3.3.0\n","status":"published","published":"2021-09-23T04:49:29Z","modified":"2026-04-16T04:44:45.283905187Z","updated_at":"2026-11-02T15:49:41.849028Z"}]}}
