{"schemaVersion":3,"id":"CVE-2021-22879","aliases":["UBUNTU-CVE-2021-22879","DEBIAN-CVE-2021-22879","openSUSE-SU-2021:0577-1"],"status":"published","duplicateOf":null,"title":null,"description":"Nextcloud Desktop Client prior to 3.1.3 is vulnerable to resource injection by way of missing validation of URLs, allowing a malicious server to execute remote commands. User interaction is needed for exploitation.","dates":{"published":"2021-04-14T12:41:24.000Z","modified":"2024-08-03T18:51:07.486Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":8.8,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"NVD","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"OSV · Ubuntu","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Debian","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":7.2,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":8.8,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"2.0","versionLabel":"v2.0","source":"NVD","score":6.8,"severity":"medium","vector":"AV:N/AC:M/Au:N/C:P/I:P/A:P","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.05036,"percentile":0.92172,"severity":"low","asOf":"2026-10-18T00:00:00.000Z","change":{"pp":0.3380000000000001,"baselineDate":"2026-09-18T00:00:00.000Z","baselineScore":0.04698},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05036,"percentile":0.92172}],"last30":[{"date":"2026-09-18T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.04698,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.05036,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.05036,"percentile":0.92172}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[{"id":"REF_599104891FB8E8C9","name":"Exploit Reference (hackerone.com)","source":"reference","url":"https://hackerone.com/reports/1078002","maturity":"unknown","reliabilityScore":0.2,"verified":false,"type":null,"platforms":[],"requiresAuth":null,"exploitdb":null,"metasploit":null}],"exploitCount":1,"weaknesses":[{"id":"CWE-99","name":"Improper Control of Resource Identifiers ('Resource Injection')","description":"The product receives input from an upstream component, but it does not restrict or incorrectly restricts the input before it is used as an identifier for a resource that may be outside the intended sphere of control.","type":"weakness","status":"Draft","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/99.html"},{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')","description":"The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/74.html"}],"affected":[{"vendor":"debian","product":"nextcloud-desktop","name":"nextcloud-desktop","label":"nextcloud-desktop","ecosystem":"Debian","cpePart":null,"purl":"pkg:deb/debian/nextcloud-desktop","purlType":"deb","versions":[{"text":"< 3.1.1-2","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.1-2","eol":null,"hubHref":null},{"vendor":"ubuntu","product":"nextcloud-desktop","name":"nextcloud-desktop","label":"nextcloud-desktop","ecosystem":"Ubuntu","cpePart":null,"purl":"pkg:deb/ubuntu/nextcloud-desktop","purlType":"deb","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"fedoraproject","product":"fedora","name":"fedora","label":"fedora","ecosystem":null,"cpePart":"o","purl":null,"purlType":null,"versions":[{"text":"33","noFixRecorded":false,"fixedIn":null}],"versionsText":"33","eol":{"isEol":true,"eolDate":"2021-11-30T00:00:00.000Z","matchMethod":"cpe","cycle":{"name":"33","label":"33","eolFrom":"2021-11-30T00:00:00.000Z","isLts":false,"isMaintained":false,"latestVersion":null},"product":{"name":"fedora","label":"Fedora Linux","category":"os"}},"hubHref":"/vendor/fedoraproject/fedora"},{"vendor":"nextcloud","product":"desktop","name":"desktop","label":"desktop","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.1.3","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.3","eol":null,"hubHref":"/vendor/nextcloud/desktop"},{"vendor":"opensuse","product":"nextcloud-desktop&distro=openSUSE Leap 15.2","name":"nextcloud-desktop","label":"nextcloud-desktop&distro=openSUSE Leap 15.2","ecosystem":"openSUSE","cpePart":null,"purl":"pkg:rpm/opensuse/nextcloud-desktop&distro=openSUSE Leap 15.2","purlType":"rpm","versions":[{"text":"< 3.1.3-lp152.2.6.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.1.3-lp152.2.6.1","eol":null,"hubHref":null}],"affectedCount":5,"eol":{"hasEol":true,"count":1},"references":[{"url":"https://hackerone.com/reports/1078002","label":"hackerone.com/reports/1078002","hostname":"hackerone.com","tags":["X Refsource MISC","REPORT","Exploit","Third Party Advisory"]},{"url":"https://nextcloud.com/security/advisory/?id=NC-SA-2021-008","label":"nextcloud.com/security/advisory/?id=NC-SA-2021-008","hostname":"nextcloud.com","tags":["X Refsource MISC","REPORT","Vendor Advisory"]},{"url":"https://github.com/nextcloud/desktop/pull/2906","label":"github.com/nextcloud/desktop/pull/2906","hostname":"github.com","tags":["X Refsource MISC","REPORT","Patch","Third Party Advisory"]},{"url":"https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTWBJAS5DJJIK7LLVBZZQTSJASUVIRVE/","label":"lists.fedoraproject.org/archives/…","hostname":"lists.fedoraproject.org","tags":["Vendor Advisory","X Refsource FEDORA"]},{"url":"https://security.gentoo.org/glsa/202105-37","label":"security.gentoo.org/glsa/202105-37","hostname":"security.gentoo.org","tags":["Vendor Advisory","X Refsource GENTOO","Third Party Advisory"]},{"url":"https://ubuntu.com/security/CVE-2021-22879","label":"ubuntu.com/security/CVE-2021-22879","hostname":"ubuntu.com","tags":["REPORT"]},{"url":"https://www.cve.org/CVERecord?id=CVE-2021-22879","label":"www.cve.org/CVERecord?id=CVE-2021-22879","hostname":"www.cve.org","tags":["REPORT"]},{"url":"https://security-tracker.debian.org/tracker/CVE-2021-22879","label":"security-tracker.debian.org/tracker/CVE-2021-22879","hostname":"security-tracker.debian.org","tags":["Advisory"]},{"url":"https://lists.opensuse.org/archives/list/security-announce@lists.opensuse.org/thread/YL7MF53UDFP75PXEIEPNXBAJQBN6ZIBB/","label":"lists.opensuse.org/archives/…","hostname":"lists.opensuse.org","tags":["Advisory"]},{"url":"https://bugzilla.suse.com/1184770","label":"bugzilla.suse.com/1184770","hostname":"bugzilla.suse.com","tags":["REPORT"]},{"url":"https://www.suse.com/security/cve/CVE-2021-22879","label":"www.suse.com/security/cve/CVE-2021-22879","hostname":"www.suse.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2021-04-14T12:41:24.000Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2024-08-03T18:51:07.486Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":46,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-19T09:53:57.607Z","stale":false,"partial":false}}