<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE glsa SYSTEM "http://www.gentoo.org/dtd/glsa.dtd">
<glsa id="202105-37">
  <title>Nextcloud Desktop Client: User-assisted execution of arbitrary code</title>
  <synopsis>A vulnerability in Nextcloud Desktop Client could allow a remote
    attacker to execute arbitrary commands.
  </synopsis>
  <product type="ebuild">nextcloud-client</product>
  <announced>2021-05-26</announced>
  <revised count="1">2021-05-26</revised>
  <bug>783531</bug>
  <access>remote</access>
  <affected>
    <package name="net-misc/nextcloud-client" auto="yes" arch="*">
      <unaffected range="ge">3.1.3</unaffected>
      <vulnerable range="lt">3.1.3</vulnerable>
    </package>
  </affected>
  <background>
    <p>The Nextcloud Desktop Client is a tool to synchronize files from
      Nextcloud Server with your computer.
    </p>
  </background>
  <description>
    <p>It was discovered that Nextcloud Desktop Client did not validate URLs.</p>
  </description>
  <impact type="normal">
    <p>A remote attacker could entice a user to connect to a malicious
      Nextcloud server to cause the execution of arbitrary commands with the
      privileges of the user running the Nextcloud Desktop Client application.
    </p>
  </impact>
  <workaround>
    <p>There is no known workaround at this time.</p>
  </workaround>
  <resolution>
    <p>All Nextcloud Desktop Client users should upgrade to the latest version:</p>
    
    <code>
      # emerge --sync
      # emerge --ask --oneshot --verbose "&gt;=net-misc/nextcloud-client-3.1.3"
    </code>
    
  </resolution>
  <references>
    <uri link="https://nvd.nist.gov/vuln/detail/CVE-2021-22879">CVE-2021-22879</uri>
  </references>
  <metadata tag="requester" timestamp="2021-05-25T14:10:09Z">whissi</metadata>
  <metadata tag="submitter" timestamp="2021-05-26T13:19:22Z">whissi</metadata>
</glsa>
