CVE-2022-41882

Source
https://cve.org/CVERecord?id=CVE-2022-41882
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41882.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2022-41882
Aliases
  • GHSA-3w86-rm38-8w63
Downstream
Published
2022-11-11T00:00:00Z
Modified
2026-07-08T06:04:11.463355264Z
Severity
  • 6.6 (Medium) CVSS_V3 - CVSS:3.1/AV:L/AC:H/PR:L/UI:R/S:C/C:L/I:H/A:L CVSS Calculator
Summary
Nextcloud Desktop vulnerable to code injection via malicious link
Details

The Nextcloud Desktop Client is a tool to synchronize files from Nextcloud Server with your computer. In version 3.6.0, if a user received a malicious file share and has it synced locally or the virtual filesystem enabled and clicked a nc://open/ link it will open the default editor for the file type of the shared file, which on Windows can also sometimes mean that a file depending on the type, e.g. "vbs", is being executed. It is recommended that the Nextcloud Desktop client is upgraded to version 3.6.1. As a workaround, users can block the Nextcloud Desktop client 3.6.0 by setting the minimum.supported.desktop.version system config to 3.6.1 on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing files can still be used. Another workaround would be to enforce shares to be accepted by setting the sharing.force_share_accept system config to true on the server, so new files designed to use this attack vector are not downloaded anymore. Already existing shares can still be abused.

Database specific
{
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2022/41xxx/CVE-2022-41882.json",
    "cwe_ids": [
        "CWE-94"
    ],
    "cna_assigner": "GitHub_M"
}
References

Affected packages

Git / github.com/nextcloud/desktop

Affected ranges

Type
GIT
Repo
https://github.com/nextcloud/desktop
Events
Database specific
{
    "cpe": "cpe:2.3:a:nextcloud:desktop:3.6.0:-:*:*:*:*:*:*",
    "source": [
        "CPE_STRING",
        "REFERENCES"
    ],
    "extracted_events": [
        {
            "introduced": "3.6.0-NA"
        },
        {
            "last_affected": "3.6.0-NA"
        }
    ]
}

Affected versions

3.*
3.6.0-NA
= 3.*
= 3.6.0
v3.*
v3.6.0

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-41882.json"