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.

Severity (CVSS 3.1)3.9Low
Exploit odds (30 days)0.2%top 89.6% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

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

EcosystemPackageFixed inAdvisory
Debian:12nextcloud-desktop3.6.1-1DEBIAN-CVE-2022-39334
Debian:13nextcloud-desktop3.6.1-1DEBIAN-CVE-2022-39334
Debian:14nextcloud-desktop3.6.1-1DEBIAN-CVE-2022-39334
Ubuntu:22.04:LTSnextcloud-desktopno fix listedUBUNTU-CVE-2022-39334
Ubuntu:24.04:LTSnextcloud-desktopno fix listedUBUNTU-CVE-2022-39334
Ubuntu:25.10nextcloud-desktopno fix listedUBUNTU-CVE-2022-39334
Ubuntu:26.04:LTSnextcloud-desktopno fix listedUBUNTU-CVE-2022-39334
Ubuntu:26.10nextcloud-desktopno fix listedUBUNTU-CVE-2022-39334

Affected products (as reported)

VendorProductVersions
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

References