Skip to content
Fencer Intel
low 3.9

CVE-2022-39334 json

nextcloudcmd incorrectly trusts bad TLS certificates

published 3y ago modified 4mo ago also EUVD-2022-41811

cvss
3.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
0.2%
EPSS 0.2% chance of exploitation in 30 days, percentile 10%
public exploits
0
none known

Summary

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.

Patch / fix

  • nextcloud desktop 3.6.1
  • nextcloud-desktop Debian 14, Debian 13, Debian 12 3.6.1-1

debian advisories DEBIAN-CVE-2022-39334

  • nextcloud-desktop Package Hub 15 SP5, openSUSE Leap 15.5 3.8.0-bp155.2.3.1
  • nextcloud-desktop Package Hub 15 SP4, openSUSE Leap 15.4 3.8.0-bp154.2.3.1

opensuse advisories openSUSE-SU-2023:0171-1openSUSE-SU-2023:0090-1

Is CVE-2022-39334 in your stack? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.

Check with Fencer

Vendor advisories

What the vendors themselves say about their products: affected, fixed or not affected, and what to do.

red hat product security vex CVE-2022-39334 updated cvss 2.8

nextcloud-client: nextcloudcmd incorrectly trusts bad TLS certificates

  • Red Hat All currently supported Red Hat products
    not affected: vulnerable code not present

Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
partial
Assessed
last yr.

Exploit prediction

0.20% chance of exploitation in the next 30 days, higher than 10% of all scored CVEs (FIRST EPSS, 2026-11-09).

Exploits and checks

  • github.com https://github.com/nextcloud/desktop/issues/4927 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 3.9 CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N
NVD 3.1 4.7 CVSS:3.1/AV:L/AC:H/PR:L/UI:N/S:U/C:N/I:H/A:N

Affected products

  • nextcloud security-advisories

Classification

Weakness
  • CWE-295 Improper Certificate Validation

References

Sources

Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.