Skip to content
Heist/ feed
Back to feed
Medium

nextcloud-desktop — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2022-39334

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.

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-2022-39334
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 01:01 UTC · Revision 1

Source evidence

UBUNTU-CVE-2022-39334

core-osv · Original source

Published 25 Nov 2022, 19:15 UTC

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.

osv:UBUNTU-CVE-2022-39334

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": "d16a95b594da85191836deb86ee498cb4abb7ccf2ac0ffe2eae205a985803a0d",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2022-39334",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2022-39334",
    "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.",
    "evidence": "osv:UBUNTU-CVE-2022-39334",
    "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-2022-39334",
      "aliases": [
        "UBUNTU-CVE-2022-39334"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:N"
        },
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:H/PR:L/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/2022/UBUNTU-CVE-2022-39334.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/2022/UBUNTU-CVE-2022-39334.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/2022/UBUNTU-CVE-2022-39334.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/2022/UBUNTU-CVE-2022-39334.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/2022/UBUNTU-CVE-2022-39334.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/2022/UBUNTU-CVE-2022-39334.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:22.498890252Z",
      "provider": "osv",
      "upstream": [
        "CVE-2022-39334"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2022-39334",
        "https://hackerone.com/reports/1699740",
        "https://github.com/nextcloud/security-advisories/security/advisories/GHSA-82xx-98xv-4jxv",
        "https://github.com/nextcloud/desktop/pull/5022",
        "https://github.com/nextcloud/desktop/issues/4927",
        "https://www.cve.org/CVERecord?id=CVE-2022-39334"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2022-39334",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/1/score"
  },
  "source_id": "core-osv",
  "document_id": 355474,
  "published_at": "2022-11-25T19:15:00+00:00"
}