Vulnerability · Published Nov 25, 2022 · Assigned by GitHub_M
CVE-2022-39334nextcloudcmd incorrectly trusts bad TLS certificates
Low 3.9
In plain English
A low-severity improper certificate validation in security-advisories from nextcloud. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 10% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
Nextcloud also ships a CLI utility called nextcloudcmd which is sometimes used for automated scripting and headless servers. Versions of nextcloudcmd prior to 3.6.1 would incorrectly trust invalid TLS certificates, which may enable a Man-in-the-middle attack that exposes sensitive data or credentials to a network attacker. This affects the CLI only. It does not affect the standard GUI desktop Nextcloud clients, and it does not affect the Nextcloud server.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian:12 | nextcloud-desktop | 3.6.1-1 | DEBIAN-CVE-2022-39334 |
| Debian:13 | nextcloud-desktop | 3.6.1-1 | DEBIAN-CVE-2022-39334 |
| Debian:14 | nextcloud-desktop | 3.6.1-1 | DEBIAN-CVE-2022-39334 |
| Ubuntu:22.04:LTS | nextcloud-desktop | no fix listed | UBUNTU-CVE-2022-39334 |
| Ubuntu:24.04:LTS | nextcloud-desktop | no fix listed | UBUNTU-CVE-2022-39334 |
| Ubuntu:25.10 | nextcloud-desktop | no fix listed | UBUNTU-CVE-2022-39334 |
| Ubuntu:26.04:LTS | nextcloud-desktop | no fix listed | UBUNTU-CVE-2022-39334 |
| Ubuntu:26.10 | nextcloud-desktop | no fix listed | UBUNTU-CVE-2022-39334 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| nextcloud | security-advisories | < 3.6.1 |
Weakness: CWE-295 · Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N