SecurityContext

CVE-2021-22879: Nextcloud Desktop Client - Command Injection

  • Cve: CVE-2021-22879
  • Name: Nextcloud Desktop Client - Command Injection
  • 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.
  • Impact: Attackers can execute remote commands on the client, potentially leading to remote code execution or system compromise.
  • Remediation: Update to version 3.1.3 or later.
  • Vulnerability type: command_injection
  • Vulnerability impact: remote_code_execution
  • Requirement type: user_interaction
  • Requirements: User needs to interact with malicious server
  • Labels source: projectdiscovery
  • Severity: high
  • Cvss score: 8.8
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
  • Epss score: 0.05036
  • Epss percentile: 0.92395
  • Assignee: [email protected]
  • Published at: 2021-04-14T13:15:13Z
  • Age in days: 2050
  • Modified at: 2026-06-17T03:37:56Z
  • Patch available: yes
  • Public exploits total: 1
  • References total: 5
  • Products total: 2
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-22879
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits capped, rejected by nvd

Cwe

IdName
CWE-99Improper Control of Resource Identifiers
CWE-74Improper Neutralization of Special Elements in Output Used by a Downstream Component

Hackerone

  • Reports: 1
  • Rank: 5211

Public exploits

UrlSourceAdded date
https://hackerone.com/reports/1078002nvd2021-04-14

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/nextcloud/desktop/pull/2906Patch, Third Party Advisory
https://nextcloud.com/security/advisory/?id=NC-SA-2021-008Vendor Advisory
https://hackerone.com/reports/1078002Exploit, Third Party Advisory
https://security.gentoo.org/glsa/202105-37Third Party Advisory
https://lists.fedoraproject.org/archives/list/package-announce%40lists.fedoraproject.org/message/MTWBJAS5DJJIK7LLVBZZQTSJASUVIRVE/

Products

ProductAffectedPlatform boundSourcesUrl
nextcloud:desktop< 3.1.3nonvd/v1/products/nextcloud/desktop
fedoraproject:fedora= 33nonvd/v1/products/fedoraproject/fedora

Projects

RepositoryLink kindsIndexedUrl
nextcloud/desktoppullyes/v1/repositories/nextcloud/desktop

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Public exploit: yes
  • Public exploit count: 1
  • Public exploit first date: 2021-04-14
  • Remote: yes
  • Hackerone reports: 1
  • Exposed hosts: 49161
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, initial access, authentication required
  • Not known: known exploited since, vulncheck known exploited since, nuclei template, initial access since