Medium
nextcloud-desktop — security advisory
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.
- Products
- nextcloud-desktop
- Affected 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, 3.10.0-1, 3.11.0-1, 3.11.0-1.1build3, 3.11.0-1.1build4, 3.16.0-1, 3.16.2-1, 3.16.4-1, 3.16.6-1, 3.16.6-3, 3.16.7-1, 3.2.3-0ubuntu1, 3.3.5-1, 3.3.5-1ubuntu1, 3.4.2-1, 3.4.2-1ubuntu1, 3.9.0-1, 33.0.2-1, 33.0.7-1ubuntu1, 4.0.1-2, 4.0.1-2build1, 4.0.6-1
- Fixed versions
- Not specified
- CVEs
- CVE-2021-22895
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 00:57 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2021-22895
nextcloud-desktop
Fixed versions: Not specified
nextcloud-desktop
Fixed versions: Not specified
nextcloud-desktop
Fixed versions: Not specified
nextcloud-desktop
Fixed versions: Not specified
nextcloud-desktop
Fixed versions: Not specified
nextcloud-desktop
Fixed versions: Not specified
Complete source record
{
"id": "ae9c5c1e72501b197461b63db741340bcf253fd9783924ea4cc1bac8d677f1ce",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2021-22895",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2021-22895",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2021-22895",
"products": [
{
"name": {
"value": "nextcloud-desktop",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "2.5.3-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.6.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.6.1-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.6.1-2",
"evidence": "/affected/0/versions"
},
{
"value": "2.6.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "2.6.2-1build1",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "nextcloud-desktop",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.2.3-0ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.3.5-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.3.5-1ubuntu1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.2-1",
"evidence": "/affected/1/versions"
},
{
"value": "3.4.2-1ubuntu1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "nextcloud-desktop",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.9.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.10.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.11.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "3.11.0-1.1build3",
"evidence": "/affected/2/versions"
},
{
"value": "3.11.0-1.1build4",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "nextcloud-desktop",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.16.0-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.16.2-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.16.4-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.16.6-1",
"evidence": "/affected/3/versions"
},
{
"value": "3.16.6-3",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "nextcloud-desktop",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.0.6-1",
"evidence": "/affected/4/versions"
},
{
"value": "33.0.2-1",
"evidence": "/affected/4/versions"
},
{
"value": "33.0.7-1ubuntu1",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "nextcloud-desktop",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "3.16.6-3",
"evidence": "/affected/5/versions"
},
{
"value": "3.16.7-1",
"evidence": "/affected/5/versions"
},
{
"value": "4.0.1-2",
"evidence": "/affected/5/versions"
},
{
"value": "4.0.1-2build1",
"evidence": "/affected/5/versions"
},
{
"value": "4.0.6-1",
"evidence": "/affected/5/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "UBUNTU-CVE-2021-22895",
"aliases": [
"UBUNTU-CVE-2021-22895"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:H/A:N"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nextcloud-desktop",
"purl": "pkg:deb/ubuntu/nextcloud-desktop?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"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"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22895.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caja-nextcloud",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "dolphin-nextcloud",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "libnextcloudsync0",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "nautilus-nextcloud",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "nemo-nextcloud",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "nextcloud-desktop",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "nextcloud-desktop-cmd",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "nextcloud-desktop-common",
"binary_version": "2.6.2-1build1"
},
{
"binary_name": "nextcloud-desktop-l10n",
"binary_version": "2.6.2-1build1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nextcloud-desktop",
"purl": "pkg:deb/ubuntu/nextcloud-desktop?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"3.2.3-0ubuntu1",
"3.3.5-1",
"3.3.5-1ubuntu1",
"3.4.2-1",
"3.4.2-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22895.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caja-nextcloud",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "dolphin-nextcloud",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "libnextcloudsync0",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "nautilus-nextcloud",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "nemo-nextcloud",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop-cmd",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop-common",
"binary_version": "3.4.2-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop-l10n",
"binary_version": "3.4.2-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nextcloud-desktop",
"purl": "pkg:deb/ubuntu/nextcloud-desktop?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"3.9.0-1",
"3.10.0-1",
"3.11.0-1",
"3.11.0-1.1build3",
"3.11.0-1.1build4"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22895.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caja-nextcloud",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "dolphin-nextcloud",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "libnextcloudsync0t64",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "nautilus-nextcloud",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "nemo-nextcloud",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "nextcloud-desktop",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "nextcloud-desktop-cmd",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "nextcloud-desktop-common",
"binary_version": "3.11.0-1.1build4"
},
{
"binary_name": "nextcloud-desktop-l10n",
"binary_version": "3.11.0-1.1build4"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nextcloud-desktop",
"purl": "pkg:deb/ubuntu/nextcloud-desktop?arch=source&distro=questing",
"ecosystem": "Ubuntu:25.10"
},
"versions": [
"3.16.0-1",
"3.16.2-1",
"3.16.4-1",
"3.16.6-1",
"3.16.6-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22895.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caja-nextcloud",
"binary_version": "3.16.6-3"
},
{
"binary_name": "dolphin-nextcloud",
"binary_version": "3.16.6-3"
},
{
"binary_name": "libnextcloudsync0t64",
"binary_version": "3.16.6-3"
},
{
"binary_name": "nautilus-nextcloud",
"binary_version": "3.16.6-3"
},
{
"binary_name": "nemo-nextcloud",
"binary_version": "3.16.6-3"
},
{
"binary_name": "nextcloud-desktop",
"binary_version": "3.16.6-3"
},
{
"binary_name": "nextcloud-desktop-cmd",
"binary_version": "3.16.6-3"
},
{
"binary_name": "nextcloud-desktop-common",
"binary_version": "3.16.6-3"
},
{
"binary_name": "nextcloud-desktop-l10n",
"binary_version": "3.16.6-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nextcloud-desktop",
"purl": "pkg:deb/ubuntu/nextcloud-desktop?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"4.0.6-1",
"33.0.2-1",
"33.0.7-1ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22895.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caja-nextcloud",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "dolphin-nextcloud",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "libnextcloudsync0t64",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "nautilus-nextcloud",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "nemo-nextcloud",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop-cmd",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop-common",
"binary_version": "33.0.7-1ubuntu1"
},
{
"binary_name": "nextcloud-desktop-l10n",
"binary_version": "33.0.7-1ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "nextcloud-desktop",
"purl": "pkg:deb/ubuntu/nextcloud-desktop?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"3.16.6-3",
"3.16.7-1",
"4.0.1-2",
"4.0.1-2build1",
"4.0.6-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2021/UBUNTU-CVE-2021-22895.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "caja-nextcloud",
"binary_version": "4.0.6-1"
},
{
"binary_name": "dolphin-nextcloud",
"binary_version": "4.0.6-1"
},
{
"binary_name": "libnextcloudsync0t64",
"binary_version": "4.0.6-1"
},
{
"binary_name": "nautilus-nextcloud",
"binary_version": "4.0.6-1"
},
{
"binary_name": "nemo-nextcloud",
"binary_version": "4.0.6-1"
},
{
"binary_name": "nextcloud-desktop",
"binary_version": "4.0.6-1"
},
{
"binary_name": "nextcloud-desktop-cmd",
"binary_version": "4.0.6-1"
},
{
"binary_name": "nextcloud-desktop-common",
"binary_version": "4.0.6-1"
},
{
"binary_name": "nextcloud-desktop-l10n",
"binary_version": "4.0.6-1"
}
]
}
}
],
"modified": "2026-10-17T12:56:19.340820446Z",
"provider": "osv",
"upstream": [
"CVE-2021-22895"
],
"references": [
"https://ubuntu.com/security/CVE-2021-22895",
"https://github.com/nextcloud/desktop/pull/2926",
"https://github.com/nextcloud/desktop/commit/b1ddd0e491b2af0ed040e658d8bcde2a7a61c9fc",
"https://github.com/nextcloud/security-advisories/security/advisories/GHSA-qpgp-vf4p-wcw5",
"https://github.com/nextcloud/desktop/releases/tag/v3.1.3",
"https://hackerone.com/reports/903424",
"https://www.cve.org/CVERecord?id=CVE-2021-22895"
]
},
"related_cves": [
{
"value": "CVE-2021-22895",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 355251,
"published_at": "2021-06-11T16:15:00+00:00"
}